]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sparsemem: fix minor "defaults" issue in mm/Kconfig
authorDave Hansen <haveblue@us.ibm.com>
Thu, 23 Jun 2005 07:07:47 +0000 (00:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:03 +0000 (09:45 -0700)
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>
mm/Kconfig

index 15c131393639b50e5bba400aaa73cdc1756af6f1..0320f066228cf7d826b0ff0f36ebc8c968e5366a 100644 (file)
@@ -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"