[PATCH] i386 machine_power_off cleanup
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 18:08:53 +0000 (12:08 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:44 +0000 (14:35 -0700)
commit4fa2564a6fde9815df969ef3547744a22f66ba9d
tree46b300dadf7749e41158a909631c4715ef4f0111
parentd8e392e7c8f019657ff3ebe70a45d234990831db
[PATCH] i386 machine_power_off cleanup

Call machine_shutdown() to move to the boot cpu
and disable apics.  Both acpi_power_off and
apm_power_off want to move to the boot cpu.
and we are already disabling the local apics
so calling machine_shutdown simply reuses
code.

ia64 doesn't have a special path in power_off
for efi so there is no reason i386 should.  If
we really need to call the efi power off path
the efi driver can set pm_power_off like everyone
else.

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