signal: Fix sending signals with siginfo
[cris-mirror.git] / include / linux / hugetlb_inline.h
bloba4e7ca0f3585e4ca33d65dedd3989af26ecd0bfa
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 bool is_vm_hugetlb_page(struct vm_area_struct *vma)
10 return !!(vma->vm_flags & VM_HUGETLB);
13 #else
15 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma)
17 return false;
20 #endif
22 #endif