aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hugetlb_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hugetlb_inline.h')
-rw-r--r--include/linux/hugetlb_inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hugetlb_inline.h b/include/linux/hugetlb_inline.h
index 6931489a5c14..2bb681fbeb35 100644
--- a/include/linux/hugetlb_inline.h
+++ b/include/linux/hugetlb_inline.h
@@ -7,7 +7,7 @@
7 7
8static inline int is_vm_hugetlb_page(struct vm_area_struct *vma) 8static 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#else 13#else