Skip to content

Commit

Permalink
[PATCH] sparsemem: fix minor "defaults" issue in mm/Kconfig
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
hansendc authored and Linus Torvalds committed Jun 23, 2005
1 parent 93b7504 commit 44d0f80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mm/Kconfig
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 44d0f80

Please sign in to comment.