public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix minor "defaults" issue in mm/Kconfig
@ 2005-04-06 15:53 Dave Hansen
  0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2005-04-06 15:53 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

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

[-- Attachment #2: A6.1-mm-Kconfig-defaults.patch --]
[-- Type: text/x-patch, Size: 857 bytes --]

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>

---

 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"
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-06 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06 15:53 [PATCH] fix minor "defaults" issue in mm/Kconfig Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox