aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Cernekee <[email protected]>2020-05-22 15:09:56 +0100
committerRussell King <[email protected]>2020-05-26 12:46:49 +0100
commit98f3f7e51338db90f88940d99d9384a2855cc317 (patch)
tree271901aaf9eddbc576f267847ecc25f538c22d23
parente1de94380af588bdf6ad6f0cc1f75004c35bc096 (diff)
ARM: 8979/1: Remove redundant ARCH_SPARSEMEM_DEFAULT setting
If ARCH_SPARSEMEM_ENABLE=y and ARCH_{FLATMEM,DISCONTIGMEM}_ENABLE=n, then the logic in mm/Kconfig already makes CONFIG_SPARSEMEM the only choice. This is true for all of the existing ARM users of ARCH_SPARSEMEM_ENABLE. Forcing ARCH_SPARSEMEM_DEFAULT=y if ARCH_SPARSEMEM_ENABLE=y prevents us from ever defaulting to FLATMEM, so we should remove this setting. Link: https://lkml.org/lkml/2015/6/4/757 Signed-off-by: Kevin Cernekee <[email protected]> Tested-by: Stephen Boyd <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Gregory Fong <[email protected]> Signed-off-by: Doug Berger <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: Mike Rapoport <[email protected]> Signed-off-by: Russell King <[email protected]>
-rw-r--r--arch/arm/Kconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c88a48d622fc..604caf652e2a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1519,9 +1519,6 @@ config ARCH_SPARSEMEM_ENABLE
bool
select SPARSEMEM_STATIC
-config ARCH_SPARSEMEM_DEFAULT
- def_bool ARCH_SPARSEMEM_ENABLE
-
config HAVE_ARCH_PFN_VALID
def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM