From: Ivan Kokshaysky Date: Fri, 10 Mar 2006 01:33:37 +0000 (-0800) Subject: [PATCH] alpha: fix IRQ handling lockup X-Git-Tag: v2.6.16-rc6~42 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=eff2c2f6f569267aa52e2431844cec30637d7ade;p=linux-2.6-omap-h63xx.git [PATCH] alpha: fix IRQ handling lockup Fix a lockup which was introduced during the conversion to the generic IRQ framework. Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c index 9006063e736..da677f829f7 100644 --- a/arch/alpha/kernel/irq.c +++ b/arch/alpha/kernel/irq.c @@ -151,8 +151,13 @@ handle_irq(int irq, struct pt_regs * regs) } 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(); __do_IRQ(irq, regs); - local_irq_enable(); irq_exit(); }