From: Hans-Joachim Picht Date: Fri, 30 May 2008 08:03:24 +0000 (+0200) Subject: [S390] fix sparsemem related compile error with allnoconfig on s390 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97195d6b411fec8e33aa55b6a7c3dde7984d65ca;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 1d035082e78..93acb3c1859 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"