From: Martin Schwidefsky Date: Fri, 23 Mar 2012 10:13:07 +0000 (+0100) Subject: [S390] register cpu devices for SMP=n X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5d3b56f93244dd5f64f60601bf63caf70d693f75;p=linux-beck.git [S390] register cpu devices for SMP=n A kernel compiled with SMP=n will not register any cpu devices. The resulting kernel image will not boot with this error message: kernel BUG at fs/sysfs/group.c:65! Use GENERIC_CPU_DEVICES=y if SMP=n to get the missing cpu device. Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 6d99a5fcc090..465d5be1f0f4 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -64,6 +64,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC config S390 def_bool y select USE_GENERIC_SMP_HELPERS if SMP + select GENERIC_CPU_DEVICES if !SMP select HAVE_SYSCALL_WRAPPERS select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_TRACE_MCOUNT_TEST