[PATCH] fix minor "defaults" issue in mm/Kconfig

From: Dave Hansen
Date: Wed Apr 06 2005 - 10:55:26 EST


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.

Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx>

---

memhotplug-dave/mm/Kconfig | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN mm/Kconfig~A6.1-mm-Kconfig-defaults mm/Kconfig
--- memhotplug/mm/Kconfig~A6.1-mm-Kconfig-defaults 2005-04-05 10:40:32.000000000 -0700
+++ memhotplug-dave/mm/Kconfig 2005-04-06 08:42:43.000000000 -0700
@@ -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"
_