summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorSteven Capper <steve.capper@linaro.org>2013-07-26 14:58:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-07-31 11:13:22 +0100
commit4bfab2034bab9374eba1921cf7bd51fd8d48661b (patch)
tree1646fd0daf6df9bacb78a129c294df7a45bb49f1 /arch/arm/Kconfig
parentc9218b163959fafa76ffbee0baa3ef269838f410 (diff)
downloadlinux-4bfab2034bab9374eba1921cf7bd51fd8d48661b.tar.bz2
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