[PATCH] sparsemem: fix minor "defaults" issue in mm/Kconfig
[safe/jmp/linux-2.6] / mm / Kconfig
1 choice
2         prompt "Memory model"
3         default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
4         default FLATMEM
5
6 config FLATMEM
7         bool "Flat Memory"
8         depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
9         help
10           This option allows you to change some of the ways that
11           Linux manages its memory internally.  Most users will
12           only have one option here: FLATMEM.  This is normal
13           and a correct option.
14
15           If unsure, choose this option over any other.
16
17 config DISCONTIGMEM
18         bool "Discontigious Memory"
19         depends on ARCH_DISCONTIGMEM_ENABLE
20         help
21           If unsure, choose "Flat Memory" over this option.
22
23 endchoice
24
25 #
26 # Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
27 # to represent different areas of memory.  This variable allows
28 # those dependencies to exist individually.
29 #
30 config NEED_MULTIPLE_NODES
31         def_bool y
32         depends on DISCONTIGMEM || NUMA