~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/hugetlb_inline.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
9
9
{
10
 
        return vma->vm_flags & VM_HUGETLB;
 
10
        return !!(vma->vm_flags & VM_HUGETLB);
11
11
}
12
12
 
13
13
#else