aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorHans-Joachim Picht <hans@linux.vnet.ibm.com>2008-05-30 10:03:24 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-05-30 10:03:33 +0200
commit97195d6b411fec8e33aa55b6a7c3dde7984d65ca (patch)
treee50c45819de70d2cd49c5cd7ddcee9aa95f957d7 /arch/s390/Kconfig
parent916941b2bfd9c4a8b66855f198ae16c3f51ef570 (diff)
downloadkernel_samsung_espresso10-97195d6b411fec8e33aa55b6a7c3dde7984d65ca.zip
kernel_samsung_espresso10-97195d6b411fec8e33aa55b6a7c3dde7984d65ca.tar.gz
kernel_samsung_espresso10-97195d6b411fec8e33aa55b6a7c3dde7984d65ca.tar.bz2
[S390] fix sparsemem related compile error with allnoconfig on s390
On s390 make allnoconfig fails with the following build error: arch/s390/mm/init.c: In function 'show_mem': arch/s390/mm/init.c:55: error: implicit declaration of function 'pfn_valid' make[1]: *** [arch/s390/mm/init.o] Error 1 make: *** [arch/s390/mm] Error 2 This problem can by fixed ensuring that ARCH_SELECT_MEMORY_MODEL is always turned on. Signed-off-by: Hans-Joachim Picht <hans@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 1d03508..93acb3c 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -308,6 +308,9 @@ config ARCH_SPARSEMEM_ENABLE
config ARCH_SPARSEMEM_DEFAULT
def_bool y
+config ARCH_SELECT_MEMORY_MODEL
+ def_bool y
+
source "mm/Kconfig"
comment "I/O subsystem configuration"