projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212188a
)
[S390] register cpu devices for SMP=n
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 23 Mar 2012 10:13:07 +0000
(11:13 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 23 Mar 2012 10:13:25 +0000
(11:13 +0100)
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>
arch/s390/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/Kconfig
b/arch/s390/Kconfig
index 6d99a5fcc09030114dd8d475e6fe54184fc59814..465d5be1f0f4fd76ddef6fcac7fe301dd0d4c060 100644
(file)
--- 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