From: Dave Hansen Date: Thu, 23 Jun 2005 07:07:47 +0000 (-0700) Subject: [PATCH] sparsemem: fix minor "defaults" issue in mm/Kconfig X-Git-Tag: v2.6.13-rc4~130^2~142 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=44d0f805c77902a22dda244fd092b4567066b2b9;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/Kconfig b/mm/Kconfig index 15c13139363..0320f066228 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"