Skip to content

Commit 98f3f7e

Browse files
cernekeeRussell King
authored andcommitted
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]>
1 parent e1de943 commit 98f3f7e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/arm/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,9 +1519,6 @@ config ARCH_SPARSEMEM_ENABLE
15191519
bool
15201520
select SPARSEMEM_STATIC
15211521

1522-
config ARCH_SPARSEMEM_DEFAULT
1523-
def_bool ARCH_SPARSEMEM_ENABLE
1524-
15251522
config HAVE_ARCH_PFN_VALID
15261523
def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
15271524

0 commit comments

Comments
 (0)