summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/hugetlb.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-04-22 11:12:19 +0300
committerIngo Molnar <mingo@kernel.org>2016-04-22 11:13:53 +0300
commitb2eafe890d4a09bfa63ab31ff018d7d6bb8cfefc (patch)
tree260890790538b5dffc49bc9ee607d808a6e47b98 /arch/x86/include/asm/hugetlb.h
parentabfb9498ee1327f534df92a7ecaea81a85913bae (diff)
parentea5dfb5fae81939f777ca569d8cfb599252da2e8 (diff)
downloadlinux-b2eafe890d4a09bfa63ab31ff018d7d6bb8cfefc.tar.xz
Merge branch 'x86/urgent' into x86/asm, to fix semantic conflict
'cpu_has_pse' has changed to boot_cpu_has(X86_FEATURE_PSE), fix this up in the merge commit when merging the x86/urgent tree that includes the following commit: 103f6112f253 ("x86/mm/xen: Suppress hugetlbfs in PV guests") Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/hugetlb.h')
-rw-r--r--arch/x86/include/asm/hugetlb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hugetlb.h b/arch/x86/include/asm/hugetlb.h
index f8a29d2c97b0..3a106165e03a 100644
--- a/arch/x86/include/asm/hugetlb.h
+++ b/arch/x86/include/asm/hugetlb.h
@@ -4,6 +4,7 @@
#include <asm/page.h>
#include <asm-generic/hugetlb.h>
+#define hugepages_supported() boot_cpu_has(X86_FEATURE_PSE)
static inline int is_hugepage_only_range(struct mm_struct *mm,
unsigned long addr,