diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-03-23 06:13:07 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-03-23 06:13:25 -0400 |
commit | 5d3b56f93244dd5f64f60601bf63caf70d693f75 (patch) | |
tree | 5240d27db87472653932473a0bd460f2b060d323 /arch | |
parent | 212188a596d17d519842ef2173150315735b54e1 (diff) |
[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')
-rw-r--r-- | arch/s390/Kconfig | 1 |
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 | |||
64 | config S390 | 64 | config S390 |
65 | def_bool y | 65 | def_bool y |
66 | select USE_GENERIC_SMP_HELPERS if SMP | 66 | select USE_GENERIC_SMP_HELPERS if SMP |
67 | select GENERIC_CPU_DEVICES if !SMP | ||
67 | select HAVE_SYSCALL_WRAPPERS | 68 | select HAVE_SYSCALL_WRAPPERS |
68 | select HAVE_FUNCTION_TRACER | 69 | select HAVE_FUNCTION_TRACER |
69 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | 70 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST |