diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-04-30 08:03:42 +0100 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2014-03-05 15:03:08 +0800 |
commit | 409fba2624e5fe66eb1e86005801acbba65eb64c (patch) | |
tree | 1e90a887934567dbb102093f7d9c740ac957bab7 /arch/x86/Kconfig | |
parent | 55de0a786c4b021e0e32cc03c24e8e25249b4ae3 (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 56d606b2497c..787072769a80 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 |