]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite3852885ce9fe5e1cdd2e2fca43526a20970b079
treeab30c24c021adc549aab6bf042108d920975d9a9
parent011b1bef14f956d0052ffa8f4e959600f8648c62
[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