dma40: fix DMA API usage for LLIs
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / hugetlb_inline.h
blob6931489a5c14433e57b28493e306d92f8b1d28d4
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