Commit 0697e5e0 authored by Mike Rapoport's avatar Mike Rapoport Committed by Russell King
Browse files

ARM: 8974/1: use SPARSMEM_STATIC when SPARSEMEM is enabled



The commit 3e347261 ("[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: 3e347261 ("[PATCH] sparsemem extreme implementation")
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent a780e485
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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