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
parent[PATCH] Introduce new Kconfig option for NUMA or DISCONTIG (diff)
downloadlinux-dev-44d0f805c77902a22dda244fd092b4567066b2b9.tar.xz
linux-dev-44d0f805c77902a22dda244fd092b4567066b2b9.zip
[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 15c131393639..0320f066228c 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"