Merge branch 'master' into for-next
[cascardo/linux.git] / arch / x86 / kernel / apic / apic.c
index 0bcc5ae..980508c 100644 (file)
@@ -921,7 +921,7 @@ void disable_local_APIC(void)
        unsigned int value;
 
        /* APIC hasn't been mapped yet */
-       if (!apic_phys)
+       if (!x2apic_mode && !apic_phys)
                return;
 
        clear_local_APIC();