1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_HUGETLB_INLINE_H
3 #define _LINUX_HUGETLB_INLINE_H
5 #ifdef CONFIG_HUGETLB_PAGE
9 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma)
11 return !!(vma->vm_flags & VM_HUGETLB);
16 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma)