]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[PATCH] pcwd.c: Call kernel_power_off not machine_power_off
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 18:03:08 +0000 (12:03 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:44 +0000 (14:35 -0700)
commit68acc05d0120e19c850e1f347ee96055f5aa032f
tree2eca1b36a99212037d1aa6b33c4893a12a43cb28
parentfdde86ac50357b6a811e3574e47d189e81a21444
[PATCH] pcwd.c: Call kernel_power_off not machine_power_off

The call appears to come from process context so kernel_power_off
should be safe.  And acpi_power_off won't necessarily work if you just
call machine_power_off.

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