[PATCH] debug: add sysrq_always_enabled boot option
authorIngo Molnar <mingo@elte.hu>
Wed, 13 Dec 2006 08:34:36 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:50 +0000 (09:05 -0800)
commit5d6f647fc6bb57377c9f417c4752e43189f56bb1
treeab30c24c021adc549aab6bf042108d920975d9a9
parente61c90188b9956edae1105eef361d8981a352fcd
[PATCH] debug: add sysrq_always_enabled boot option

Most distributions enable sysrq support but set it to 0 by default.  Add a
sysrq_always_enabled boot option to always-enable sysrq keys.  Useful for
debugging - without having to modify the disribution's config files (which
might not be possible if the kernel is on a live CD, etc.).

Also, while at it, clean up the sysrq interfaces.

[bunk@stusta.de: make sysrq_always_enabled_setup() static]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/kernel-parameters.txt
drivers/char/sysrq.c
drivers/char/viocons.c
include/linux/sysrq.h
kernel/sysctl.c