diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-04-30 08:03:42 +0100 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-06-14 09:40:15 +0100 |
commit | 53313b2c9130a54dece8595c5a77fd787f340433 (patch) | |
tree | f0c32e54fd2abfbc8c932635448d6ba237cc90e1 /arch/x86/Kconfig | |
parent | 9e5fc74c30250566ff9154effdb17d6d18952052 (diff) |
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/Kconfig | 3 |
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 |