diff options
author | Steven Capper <steve.capper@linaro.org> | 2013-07-26 09:58:22 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-07-31 06:13:22 -0400 |
commit | 4bfab2034bab9374eba1921cf7bd51fd8d48661b (patch) | |
tree | 1646fd0daf6df9bacb78a129c294df7a45bb49f1 /arch/arm/Kconfig | |
parent | c9218b163959fafa76ffbee0baa3ef269838f410 (diff) |
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/Kconfig | 3 |
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 | |||
1793 | def_bool y | 1793 | def_bool y |
1794 | depends on ARM_LPAE | 1794 | depends on ARM_LPAE |
1795 | 1795 | ||
1796 | config ARCH_WANT_GENERAL_HUGETLB | ||
1797 | def_bool y | ||
1798 | |||
1796 | source "mm/Kconfig" | 1799 | source "mm/Kconfig" |
1797 | 1800 | ||
1798 | config FORCE_MAX_ZONEORDER | 1801 | config FORCE_MAX_ZONEORDER |