]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/irq.c
Merge commit 'v3.4-rc4' into next
[~andy/linux] / arch / x86 / kernel / irq.c
index 7943e0c21bde4daa742ed209e5121ab697f659e8..3dafc6003b7c4a5c177238f3f21d652cdb20ca30 100644 (file)
@@ -282,8 +282,13 @@ void fixup_irqs(void)
                else if (!(warned++))
                        set_affinity = 0;
 
+               /*
+                * We unmask if the irq was not marked masked by the
+                * core code. That respects the lazy irq disable
+                * behaviour.
+                */
                if (!irqd_can_move_in_process_context(data) &&
-                   !irqd_irq_disabled(data) && chip->irq_unmask)
+                   !irqd_irq_masked(data) && chip->irq_unmask)
                        chip->irq_unmask(data);
 
                raw_spin_unlock(&desc->lock);