Commit c898ec16e83331abde39118e22e9e38335bbb950

Authored by Anton Blanchard
Committed by Linus Torvalds
1 parent 215c3409ee

[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: Anton Blanchard <anton@samba.org>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -11,7 +11,7 @@
11 11  
12 12 config FLATMEM_MANUAL
13 13 bool "Flat Memory"
14   - depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
  14 + depends on !(ARCH_DISCONTIGMEM_ENABLE || ARCH_SPARSEMEM_ENABLE) || ARCH_FLATMEM_ENABLE
15 15 help
16 16 This option allows you to change some of the ways that
17 17 Linux manages its memory internally. Most users will