[PATCH] kexec: x86: factor out apic shutdown code
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 25 Jun 2005 21:57:55 +0000 (14:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:49 +0000 (16:24 -0700)
commitdd2a13054ffc25783a74afb5e4a0f2115e45f9cd
tree731e3d72e158f9c8a7e19247e6b3f1a409c7b0ec
parent50cccc699ed849d31c9e3f7643db33edade20e4e
[PATCH] kexec: x86: factor out apic shutdown code

Factor out the apic and smp shutdown code from machine_restart so it can be
called by in the kexec reboot path as well.

By switching to the bootstrap cpu by default on reboot I can delete/simplify
some motherboard fixups well.

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