x86/apic: Disable I/O APIC before shutdown of the local APIC
[pandora-kernel.git] / arch / x86 / kernel / crash.c
index 13ad899..69e231b 100644 (file)
@@ -95,10 +95,10 @@ void native_machine_crash_shutdown(struct pt_regs *regs)
        cpu_emergency_vmxoff();
        cpu_emergency_svm_disable();
 
-       lapic_shutdown();
 #if defined(CONFIG_X86_IO_APIC)
        disable_IO_APIC();
 #endif
+       lapic_shutdown();
 #ifdef CONFIG_HPET_TIMER
        hpet_disable();
 #endif