]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/io_apic.c
Merge commit 'remotes/tip/x86/paravirt' into x86/untangle2
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / io_apic.c
index e4d36bd56b62e7c4e402232175e470750121e7a3..0a7f6d6b1206f5b9aa9dbc5978eb624cf3ce1f6a 100644 (file)
@@ -2527,14 +2527,15 @@ static void irq_complete_move(struct irq_desc **descp)
 
        vector = ~get_irq_regs()->orig_ax;
        me = smp_processor_id();
+
+       if (vector == cfg->vector && cpumask_test_cpu(me, cfg->domain)) {
 #ifdef CONFIG_NUMA_MIGRATE_IRQ_DESC
                *descp = desc = move_irq_desc(desc, me);
                /* get the new one */
                cfg = desc->chip_data;
 #endif
-
-       if (vector == cfg->vector && cpumask_test_cpu(me, cfg->domain))
                send_cleanup_vector(cfg);
+       }
 }
 #else
 static inline void irq_complete_move(struct irq_desc **descp) {}