Thread (9 messages) 9 messages, 4 authors, 2014-10-31
STALE4245d

[PATCH 2/3] ARM: Remove redundant ARCH_SPARSEMEM_DEFAULT setting

From: cernekee@gmail.com (Kevin Cernekee)
Date: 2014-09-12 02:22:41
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

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.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
 arch/arm/Kconfig |    3 ---
 1 file changed, 3 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 32cbbd5..c3daeaf 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1635,9 +1635,6 @@ config ARCH_HAS_HOLES_MEMORYMODEL
 config ARCH_SPARSEMEM_ENABLE
 	bool
 
-config ARCH_SPARSEMEM_DEFAULT
-	def_bool ARCH_SPARSEMEM_ENABLE
-
 config ARCH_SELECT_MEMORY_MODEL
 	def_bool ARCH_SPARSEMEM_ENABLE
 
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help