Selaa lähdekoodia

[PATCH] sparsemem: 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 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.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Dave Hansen 20 vuotta sitten
vanhempi
commit
44d0f805c7
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      mm/Kconfig

+ 1 - 2
mm/Kconfig

@@ -1,8 +1,7 @@
 choice
 choice
 	prompt "Memory model"
 	prompt "Memory model"
-	default FLATMEM
-	default SPARSEMEM if ARCH_SPARSEMEM_DEFAULT
 	default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
 	default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
+	default FLATMEM
 
 
 config FLATMEM
 config FLATMEM
 	bool "Flat Memory"
 	bool "Flat Memory"