]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sysrq - allow specifying alternate reset sequence
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 7 Jan 2013 07:23:33 +0000 (23:23 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Jan 2013 08:27:52 +0000 (00:27 -0800)
commit4cb968c365f241e4a5a39ef949fbfd7670c6e3de
treed4144b91beecfb9fd21a66bf4274e10401d387b4
parent25d4e9a5627d950fb5df532bb82d761415a843fa
Input: sysrq - allow specifying alternate reset sequence

This patch adds keyreset functionality to the sysrq driver. It allows
certain button/key combinations to be used in order to trigger emergency
reboots.

Redefining the '__weak platform_sysrq_reset_seq' variable is required
to trigger the feature.  Alternatively keys can be passed to the driver
via a module parameter.

This functionality comes from the keyreset driver submitted by
Arve Hjønnevåg in the Android kernel.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/tty/sysrq.c