summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorSteve Capper2013-04-30 09:03:42 +0200
committerSteve Capper2013-06-14 10:40:15 +0200
commit53313b2c9130a54dece8595c5a77fd787f340433 (patch)
treef0c32e54fd2abfbc8c932635448d6ba237cc90e1 /arch/x86/Kconfig
parentmm: hugetlb: Copy general hugetlb code from x86 to mm. (diff)
downloadkernel-qcow2-linux-53313b2c9130a54dece8595c5a77fd787f340433.tar.gz
kernel-qcow2-linux-53313b2c9130a54dece8595c5a77fd787f340433.tar.xz
kernel-qcow2-linux-53313b2c9130a54dece8595c5a77fd787f340433.zip
x86: mm: Remove general hugetlb code from x86.
huge_pte_alloc, huge_pte_offset and follow_huge_p[mu]d have already been copied over to mm. This patch removes the x86 copies of these functions and activates the general ones by enabling: CONFIG_ARCH_WANT_GENERAL_HUGETLB Signed-off-by: Steve Capper <steve.capper@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 476f786c11e9..191c4e34722d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -210,6 +210,9 @@ config ARCH_SUSPEND_POSSIBLE
config ARCH_WANT_HUGE_PMD_SHARE
def_bool y
+config ARCH_WANT_GENERAL_HUGETLB
+ def_bool y
+
config ZONE_DMA32
bool
default X86_64