diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-10 18:09:38 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-10 18:09:38 +0100 |
commit | 4694a6028ca07e4008a59b02a1d1f0aa9887a00b (patch) | |
tree | 7b74879d964afc8f96153b771d8857b2d814a527 /xen/arch/x86/shutdown.c | |
parent | 78569aa816df0cccdb0c8d7e5359a85e66337265 (diff) | |
download | xen-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.c | 8 |
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 ( ; ; ) { |