Skip to contentSkip to conversation

fix minor "defaults" issue in mm/Kconfig

PATCH New Dave Hansen 1 participant 1 message Apr 6, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix minor "defaults" issue in mm/Kconfig

The following patch applies on top of 2.6.12-rc2-mm1. It fixes a minor user interaction issue, and removes an early reference to SPARSEMEM.

Without this patch. the "choice" menu would always default to FLATMEM, as it was listed first. Move it to the end so that the other defaults have a chance first.

-- Dave

The following patch applies on top of 2.6.12-rc2-mm1. It fixes a minor user interaction issue, and an early reference to SPARSEMEM.

This "choice" menu would always default to FLATMEM, as it was listed first. Move it to the end so that the other defaults have a chance first.

---

 memhotplug-dave/mm/Kconfig |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
mm/Kconfig renamed from mm/Kconfig~A6.1-mm-Kconfig-defaults +1 -2
diff -puN mm/Kconfig~A6.1-mm-Kconfig-defaults mm/Kconfig
@@ -1,8 +1,7 @@
 choice
 	prompt "Memory model"
-	default FLATMEM
-	default SPARSEMEM if ARCH_SPARSEMEM_DEFAULT
 	default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
+	default FLATMEM
 
 config FLATMEM
 	bool "Flat Memory"

_