aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2005-06-23 00:07:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 09:45:03 -0700
commit44d0f805c77902a22dda244fd092b4567066b2b9 (patch)
tree62732a526b6ade8b9cc0f403130ddf4d4b4fdf46
parent93b7504e3e6c1d98586854806e51bea329ea3aa9 (diff)
downloadkernel_samsung_espresso10-44d0f805c77902a22dda244fd092b4567066b2b9.zip
kernel_samsung_espresso10-44d0f805c77902a22dda244fd092b4567066b2b9.tar.gz
kernel_samsung_espresso10-44d0f805c77902a22dda244fd092b4567066b2b9.tar.bz2
[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>
-rw-r--r--mm/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 15c1313..0320f06 100644
--- a/mm/Kconfig
+++ b/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"