Commit 30b0cece authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] sparse fix reboot

parent aa83bdb8
...@@ -251,7 +251,7 @@ void machine_restart(char * __unused) ...@@ -251,7 +251,7 @@ void machine_restart(char * __unused)
* other OSs see a clean IRQ state. * other OSs see a clean IRQ state.
*/ */
smp_send_stop(); smp_send_stop();
#elif CONFIG_X86_LOCAL_APIC #elif defined(CONFIG_X86_LOCAL_APIC)
if (cpu_has_apic) { if (cpu_has_apic) {
local_irq_disable(); local_irq_disable();
disable_local_APIC(); disable_local_APIC();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment