ARM: 8974/1: use SPARSMEM_STATIC when SPARSEMEM is enabled
authorMike Rapoport <rppt@linux.ibm.com>
Tue, 12 May 2020 17:11:19 +0000 (18:11 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 19 May 2020 10:40:34 +0000 (11:40 +0100)
commit0697e5e06ea0d96e2d1508104ff3b13e4dddc4bb
tree7a3916d602140d87883259808bdf6ac8fd80c74a
parenta780e485b5768e78aef087502499714901b68cc4
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>
arch/arm/Kconfig