iwlegacy: 3945: fix hw passive scan on radar channels
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / hugetlb_inline.h
blob2bb681fbeb35b3f4dcdece493931e0679c89d824
1 #ifndef _LINUX_HUGETLB_INLINE_H
2 #define _LINUX_HUGETLB_INLINE_H
4 #ifdef CONFIG_HUGETLB_PAGE
6 #include <linux/mm.h>
8 static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
10 return !!(vma->vm_flags & VM_HUGETLB);
13 #else
15 static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
17 return 0;
20 #endif
22 #endif