[PATCH] let MAGIC_SYSRQ no longer depend on DEBUG_KERNEL

I know several people using MAGIC_SYSRQ not for kernel debugging but for
trying to do a halfway normal shutdown in case of problems.

Since there's no technical reason why MAGIC_SYSRQ would have to depend on
DEBUG_KERNEL, I'm therefore suggesting to drop this dependency.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
f346f4b3 4c29c4c5

+7 -7
+7 -7
lib/Kconfig.debug
··· 9 9 in kernel startup. 10 10 11 11 12 - config DEBUG_KERNEL 13 - bool "Kernel debugging" 14 - help 15 - Say Y here if you are developing drivers or trying to debug and 16 - identify kernel problems. 17 - 18 12 config MAGIC_SYSRQ 19 13 bool "Magic SysRq key" 20 - depends on DEBUG_KERNEL && !UML 14 + depends on !UML 21 15 help 22 16 If you say Y here, you will have some control over the system even 23 17 if the system crashes for example during kernel debugging (e.g., you ··· 22 28 send a BREAK and then within 5 seconds a command keypress. The 23 29 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y 24 30 unless you really know what this hack does. 31 + 32 + config DEBUG_KERNEL 33 + bool "Kernel debugging" 34 + help 35 + Say Y here if you are developing drivers or trying to debug and 36 + identify kernel problems. 25 37 26 38 config LOG_BUF_SHIFT 27 39 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL