summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorSteven Capper2013-07-26 15:58:22 +0200
committerRussell King2013-07-31 12:13:22 +0200
commit4bfab2034bab9374eba1921cf7bd51fd8d48661b (patch)
tree1646fd0daf6df9bacb78a129c294df7a45bb49f1 /arch/arm/Kconfig
parentARM: Allow selection HZ values (diff)
downloadkernel-qcow2-linux-4bfab2034bab9374eba1921cf7bd51fd8d48661b.tar.gz
kernel-qcow2-linux-4bfab2034bab9374eba1921cf7bd51fd8d48661b.tar.xz
kernel-qcow2-linux-4bfab2034bab9374eba1921cf7bd51fd8d48661b.zip
ARM: 7792/1: mm: Remove general hugetlb code from ARM
General forms of huge_pte_alloc, huge_pte_offset and follow_huge_pmd are now available in mm/hugetlb.c. This patch removes the ARM 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> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1e987404d2b0..1b3a30361f9c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1793,6 +1793,9 @@ config HAVE_ARCH_TRANSPARENT_HUGEPAGE
def_bool y
depends on ARM_LPAE
+config ARCH_WANT_GENERAL_HUGETLB
+ def_bool y
+
source "mm/Kconfig"
config FORCE_MAX_ZONEORDER