]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64 sync machine_power_off with i386
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 18:14:16 +0000 (12:14 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:45 +0000 (14:35 -0700)
commit0963aba54aa26c89114dca7257acf8c938bfec8a
treeb56e11022f963134c24f906ba20c8ac4f4f9d185
parent910de55c6653d76f90380c80f0b7a395f12019e3
[PATCH] x86_64 sync machine_power_off with i386

i386 machine_power_off was disabling the local apic
and all of it's users wanted to be on the boot cpu.
So call machine_shutdown which places us on the boot
cpu and disables the apics.  This keeps us in sync
and reduces the number of cases we need to worry about in
the power management code.

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