summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/include/asm/hugetlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/include/asm/hugetlb.h')
-rw-r--r--kernel/arch/x86/include/asm/hugetlb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/arch/x86/include/asm/hugetlb.h b/kernel/arch/x86/include/asm/hugetlb.h
index f8a29d2c9..e6a8613fb 100644
--- a/kernel/arch/x86/include/asm/hugetlb.h
+++ b/kernel/arch/x86/include/asm/hugetlb.h
@@ -4,6 +4,7 @@
#include <asm/page.h>
#include <asm-generic/hugetlb.h>
+#define hugepages_supported() cpu_has_pse
static inline int is_hugepage_only_range(struct mm_struct *mm,
unsigned long addr,