summaryrefslogtreecommitdiff
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2012-03-23 11:13:07 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-03-23 11:13:25 +0100
commit5d3b56f93244dd5f64f60601bf63caf70d693f75 (patch)
tree5240d27db87472653932473a0bd460f2b060d323 /arch/s390/Kconfig
parent212188a596d17d519842ef2173150315735b54e1 (diff)
downloadlinux-3.10-5d3b56f93244dd5f64f60601bf63caf70d693f75.tar.gz
linux-3.10-5d3b56f93244dd5f64f60601bf63caf70d693f75.tar.bz2
linux-3.10-5d3b56f93244dd5f64f60601bf63caf70d693f75.zip
[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 <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 6d99a5fcc09..465d5be1f0f 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