summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/include/linux/hugetlb_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/include/linux/hugetlb_inline.h')
-rw-r--r--ANDROID_3.4.5/include/linux/hugetlb_inline.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/ANDROID_3.4.5/include/linux/hugetlb_inline.h b/ANDROID_3.4.5/include/linux/hugetlb_inline.h
deleted file mode 100644
index 2bb681fb..00000000
--- a/ANDROID_3.4.5/include/linux/hugetlb_inline.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef _LINUX_HUGETLB_INLINE_H
-#define _LINUX_HUGETLB_INLINE_H
-
-#ifdef CONFIG_HUGETLB_PAGE
-
-#include <linux/mm.h>
-
-static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
-{
- return !!(vma->vm_flags & VM_HUGETLB);
-}
-
-#else
-
-static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
-{
- return 0;
-}
-
-#endif
-
-#endif