mips: vr41xx: Use irdq_irq_disabled()
Thomas Gleixner [Mon, 28 Mar 2011 11:59:54 +0000 (13:59 +0200)]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

arch/mips/vr41xx/common/irq.c

index 9ff7f39..70a3b85 100644 (file)
@@ -87,7 +87,7 @@ static void irq_dispatch(unsigned int irq)
                        atomic_inc(&irq_err_count);
                else
                        irq_dispatch(irq);
-               if (!(desc->status & IRQ_DISABLED) && chip->irq_unmask)
+               if (!irqd_irq_disabled(idata) && chip->irq_unmask)
                        chip->irq_unmask(idata);
        } else
                do_IRQ(irq);