From: Russell King Date: Wed, 1 Oct 2008 20:39:58 +0000 (+0100) Subject: [ARM] mm: deprecate discontigmem on ARM X-Git-Tag: v2.6.28-rc1~293^2~9^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=07a2f737ba1d73ace591dd03c512bb0dd63f6785;p=linux-2.6-omap-h63xx.git [ARM] mm: deprecate discontigmem on ARM Signed-off-by: Russell King --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b21c93a5f92..ef218ea3010 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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