aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/shutdown.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-10 18:09:38 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-10 18:09:38 +0100
commit4694a6028ca07e4008a59b02a1d1f0aa9887a00b (patch)
tree7b74879d964afc8f96153b771d8857b2d814a527 /xen/arch/x86/shutdown.c
parent78569aa816df0cccdb0c8d7e5359a85e66337265 (diff)
downloadxen-4694a6028ca07e4008a59b02a1d1f0aa9887a00b.tar.gz
xen-4694a6028ca07e4008a59b02a1d1f0aa9887a00b.tar.bz2
xen-4694a6028ca07e4008a59b02a1d1f0aa9887a00b.zip
x86: Cleanup system restart code, and wait 10ms for APs to offline.
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/shutdown.c')
-rw-r--r--xen/arch/x86/shutdown.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c
index 8bc658fa83..7653dce4fd 100644
--- a/xen/arch/x86/shutdown.c
+++ b/xen/arch/x86/shutdown.c
@@ -216,18 +216,12 @@ void machine_restart(void)
safe_halt();
}
- /*
- * Stop all CPUs and turn off local APICs and the IO-APIC, so
- * other OSs see a clean IRQ state.
- */
smp_send_stop();
- disable_IO_APIC();
- hvm_cpu_down();
/* Rebooting needs to touch the page at absolute address 0. */
*((unsigned short *)__va(0x472)) = reboot_mode;
- if (reboot_thru_bios <= 0)
+ if ( reboot_thru_bios <= 0 )
{
for ( ; ; )
{