diff options
-rw-r--r-- | arch/x86_64/kernel/reboot.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/x86_64/kernel/reboot.c b/arch/x86_64/kernel/reboot.c index 0515d3266634..d4c45ff92d5c 100644 --- a/arch/x86_64/kernel/reboot.c +++ b/arch/x86_64/kernel/reboot.c | |||
@@ -115,15 +115,8 @@ void machine_restart(char * __unused) | |||
115 | 115 | ||
116 | printk("machine restart\n"); | 116 | printk("machine restart\n"); |
117 | 117 | ||
118 | machine_shutdown(); | ||
119 | |||
120 | if (!reboot_force) { | 118 | if (!reboot_force) { |
121 | local_irq_disable(); | 119 | machine_shutdown(); |
122 | #ifndef CONFIG_SMP | ||
123 | disable_local_APIC(); | ||
124 | #endif | ||
125 | disable_IO_APIC(); | ||
126 | local_irq_enable(); | ||
127 | } | 120 | } |
128 | 121 | ||
129 | /* Tell the BIOS if we want cold or warm reboot */ | 122 | /* Tell the BIOS if we want cold or warm reboot */ |