summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2020-05-12 19:11:19 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2020-05-19 12:40:34 +0200
commit0697e5e06ea0d96e2d1508104ff3b13e4dddc4bb (patch)
tree7a3916d602140d87883259808bdf6ac8fd80c74a /arch/arm
parentARM: 8971/1: replace the sole use of a symbol with its definition (diff)
downloadlinux-0697e5e06ea0d96e2d1508104ff3b13e4dddc4bb.tar.xz
linux-0697e5e06ea0d96e2d1508104ff3b13e4dddc4bb.zip
ARM: 8974/1: use SPARSMEM_STATIC when SPARSEMEM is enabled
The commit 3e347261a80b5 ("[PATCH] sparsemem extreme implementation") made SPARSMEM_EXTREME the default option for configurations that enable SPARSEMEM. For ARM systems with handful of memory banks SPARSEMEM_EXTREME is an overkill. Ensure that SPARSMEM_STATIC is enabled in the configurations that use SPARSEMEM. Fixes: 3e347261a80b5 ("[PATCH] sparsemem extreme implementation") Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 66a04f6f4775..c88a48d622fc 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1517,6 +1517,7 @@ config ARCH_HAS_HOLES_MEMORYMODEL
config ARCH_SPARSEMEM_ENABLE
bool
+ select SPARSEMEM_STATIC
config ARCH_SPARSEMEM_DEFAULT
def_bool ARCH_SPARSEMEM_ENABLE