lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Allow flatmem to be disabled when only sparsemem is implemented

Hi Andy,

What do you think about this?

Anton

--

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>
---
Index: build/mm/Kconfig
===================================================================
--- build.orig/mm/Kconfig 2005-11-11 11:31:38.000000000 +1100
+++ build/mm/Kconfig 2005-11-11 11:41:55.000000000 +1100
@@ -11,7 +11,7 @@

config FLATMEM_MANUAL
bool "Flat Memory"
- depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
+ depends on !(ARCH_DISCONTIGMEM_ENABLE || ARCH_SPARSEMEM_ENABLE) || ARCH_FLATMEM_ENABLE
help
This option allows you to change some of the ways that
Linux manages its memory internally. Most users will
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-11-11 17:09    [W:0.068 / U:0.212 seconds]
©2003-2011 Jasper Spaans