Browse Source

[PATCH] alpha: fix IRQ handling lockup

Fix a lockup which was introduced during the conversion to the generic IRQ
framework.

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Ivan Kokshaysky 19 years ago
parent
commit
eff2c2f6f5
1 changed files with 6 additions and 1 deletions
  1. 6 1
      arch/alpha/kernel/irq.c

+ 6 - 1
arch/alpha/kernel/irq.c

@@ -151,8 +151,13 @@ handle_irq(int irq, struct pt_regs * regs)
 	}
 	}
 
 
 	irq_enter();
 	irq_enter();
+	/*
+	 * __do_IRQ() must be called with IPL_MAX. Note that we do not
+	 * explicitly enable interrupts afterwards - some MILO PALcode
+	 * (namely LX164 one) seems to have severe problems with RTI
+	 * at IPL 0.
+	 */
 	local_irq_disable();
 	local_irq_disable();
 	__do_IRQ(irq, regs);
 	__do_IRQ(irq, regs);
-	local_irq_enable();
 	irq_exit();
 	irq_exit();
 }
 }