]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Use kernel_power_off in sysrq-o
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 17:47:32 +0000 (11:47 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:43 +0000 (14:35 -0700)
commitff31977782a05504f2586ec9e3e5ab4b09a4c893
tree3cf1d3ab1be8688a4de9bca44d8dac276f6038e2
parent62b3a04d75d2dc9480d5ad3b60f4258e548a6a83
[PATCH] Use kernel_power_off in sysrq-o

We already do all of the gymnastics to run from process context
to call the power off code so call into the power off code cleanly.

This especially helps acpi as part of it's shutdown logic should
run acpi_shutdown called from device_shutdown which was not
being called from here.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/poweroff.c