summaryrefslogtreecommitdiffstats
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
parent212188a596d17d519842ef2173150315735b54e1 (diff)
downloadblackbird-op-linux-5d3b56f93244dd5f64f60601bf63caf70d693f75.tar.gz
blackbird-op-linux-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>
-rw-r--r--arch/s390/Kconfig1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud