m68k: reverse Mac IRQ damage
[linux-2.6.git] / arch / m68k / mac / baboon.c
index a1c7ec7..303a3b5 100644 (file)
@@ -81,9 +81,9 @@ irqreturn_t baboon_irq(int irq, void *dev_id)
        for (i = 0, irq_bit = 1 ; i < 3 ; i++, irq_bit <<= 1) {
                if (events & irq_bit/* & baboon_active*/) {
                        baboon_active &= ~irq_bit;
+                       baboon->mb_ifr &= ~irq_bit;
                        m68k_handle_int(IRQ_BABOON_0 + i);
                        baboon_active |= irq_bit;
-                       baboon->mb_ifr &= ~irq_bit;
                }
        }
 #if 0