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