Commit c898ec16 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] allow flatmem to be disabled when only sparsemem is implemented

On architectures that implement sparsemem but not discontigmem we want to
be able to hide the flatmem option in some cases.  On ppc64 for example,
when we select NUMA we must not select flatmem.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 215c3409
...@@ -11,7 +11,7 @@ choice ...@@ -11,7 +11,7 @@ choice
config FLATMEM_MANUAL config FLATMEM_MANUAL
bool "Flat Memory" bool "Flat Memory"
depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE depends on !(ARCH_DISCONTIGMEM_ENABLE || ARCH_SPARSEMEM_ENABLE) || ARCH_FLATMEM_ENABLE
help help
This option allows you to change some of the ways that This option allows you to change some of the ways that
Linux manages its memory internally. Most users will Linux manages its memory internally. Most users will
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment