]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Update sysrq-B to use emergency_restart()
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 17:51:06 +0000 (11:51 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:43 +0000 (14:35 -0700)
commit4de8b9b76017365572f778332d74fe050d9c8c2a
tree17d22eacd721d3ff966f643b92e0243891fcb1a2
parent2f048ea81df94f72dee0d42b3d9b941c03b8c9c5
[PATCH] Update sysrq-B to use emergency_restart()

sysrq calls into the reboot path from an interrupt handler
we can either push the code do into process context and
call kernel_restart and get a clean reboot or we can simply
reboot the machine, and increase our chances of actually
rebooting.  emergency_reboot() seems like the closest match
to what we have previously done, and what we want.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/sysrq.c