]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] mm: deprecate discontigmem on ARM
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 1 Oct 2008 20:39:58 +0000 (21:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Oct 2008 20:41:32 +0000 (21:41 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig

index b21c93a5f9262cc9ea8ad00aeb2af00fc4bc9a78..ef218ea3010f328ef2e71cc6487ad1bb408858a8 100644 (file)
@@ -839,6 +839,7 @@ config OABI_COMPAT
          UNPREDICTABLE (in fact it can be predicted that it won't work
          at all). If in doubt say Y.
 
+# Discontigmem is deprecated
 config ARCH_DISCONTIGMEM_ENABLE
        bool
        default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
@@ -851,8 +852,11 @@ config ARCH_DISCONTIGMEM_ENABLE
 config ARCH_SPARSEMEM_ENABLE
        bool
 
+config ARCH_SPARSEMEM_DEFAULT
+       def_bool ARCH_SPARSEMEM_ENABLE
+
 config ARCH_SELECT_MEMORY_MODEL
-       bool
+       def_bool ARCH_DISCONTIGMEM_ENABLE && ARCH_SPARSEMEM_ENABLE
 
 config NODES_SHIFT
        int