]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sysrq - request graceful shutdown for key reset
authorMathieu J. Poirier <mathieu.poirier@linaro.org>
Thu, 6 Jun 2013 05:51:46 +0000 (22:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 6 Jun 2013 19:03:58 +0000 (12:03 -0700)
commit876942b6061fdacb6fe6def984c6f851f70e36cc
tree64574e838b5a790684043ba27815efe5075107d3
parentf06aa5e6373fe0835134d97299052ec236c0c2a0
Input: sysrq - request graceful shutdown for key reset

Attempt to reboot the system gracefully when a key combo is detected.
If the reste combination is pressed the 2nd time we assume that graceful
reboot failed and perform emergency reboot. This fucntionality is useful
when UI is stuck but the system is otherwise working fine.

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