~ubuntu-branches/debian/experimental/linux-2.6/experimental

« back to all changes in this revision

Viewing changes to include/linux/page-flags.h

  • Committer: Package Import Robot
  • Author(s): maximilian attems, maximilian attems, Ben Hutchings
  • Date: 2012-06-06 10:25:57 UTC
  • mfrom: (1.2.38)
  • Revision ID: package-import@ubuntu.com-20120606102557-b9j3506wcwrqrnx8
Tags: 3.4.1-1~experimental.1
* New upstream release: http://kernelnewbies.org/Linux_3.4
* New upstream stable update:
  http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.1

[ maximilian attems ]
* Enable DM_VERITY, NF_CONNTRACK_TIMEOUT, NF_CT_NETLINK_TIMEOUT,
  IP_NF_MATCH_RPFILTER, IP6_NF_MATCH_RPFILTER, NETFILTER_NETLINK_ACCT,
  NETFILTER_XT_MATCH_NFACCT, NET_SCH_PLUG, SCSI_UFSHCD, SCSI_VIRTIO,
  NET_TEAM, ATH6KL.

[ Ben Hutchings ]
* DFSG: Remove the new vs6624 driver, which contains non-free firmware
* aufs: Update to aufs3.4-20120521
* [rt] Update to 3.4-rt8 and reenable

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#define PAGE_FLAGS_H
7
7
 
8
8
#include <linux/types.h>
 
9
#include <linux/bug.h>
9
10
#ifndef __GENERATING_BOUNDS_H
10
11
#include <linux/mm_types.h>
11
12
#include <generated/bounds.h>
414
415
        return PageHead(page);
415
416
}
416
417
 
 
418
/*
 
419
 * PageTransCompound returns true for both transparent huge pages
 
420
 * and hugetlbfs pages, so it should only be called when it's known
 
421
 * that hugetlbfs pages aren't involved.
 
422
 */
417
423
static inline int PageTransCompound(struct page *page)
418
424
{
419
425
        return PageCompound(page);
420
426
}
421
427
 
 
428
/*
 
429
 * PageTransTail returns true for both transparent huge pages
 
430
 * and hugetlbfs pages, so it should only be called when it's known
 
431
 * that hugetlbfs pages aren't involved.
 
432
 */
 
433
static inline int PageTransTail(struct page *page)
 
434
{
 
435
        return PageTail(page);
 
436
}
 
437
 
422
438
#else
423
439
 
424
440
static inline int PageTransHuge(struct page *page)
430
446
{
431
447
        return 0;
432
448
}
 
449
 
 
450
static inline int PageTransTail(struct page *page)
 
451
{
 
452
        return 0;
 
453
}
433
454
#endif
434
455
 
435
456
#ifdef CONFIG_MMU