Skip to content

Commit

Permalink
alpha: fix WARN_ON in __local_bh_enable()
Browse files Browse the repository at this point in the history
Interrupts ought to be disabled _before_ irq_enter().

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Matt Turner <mattst88@monolith.freenet-rz.de>
  • Loading branch information
Ivan Kokshaysky authored and Matt Turner committed Jan 17, 2011
1 parent e2609f6 commit f5de6ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/alpha/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,14 @@ handle_irq(int irq)
return;
}

irq_enter();
/*
* handle_irq() must be called with IPL_MAX. Note that we do not
* From here we must proceed 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();
irq_enter();
generic_handle_irq_desc(irq, desc);
irq_exit();
}

0 comments on commit f5de6ec

Please sign in to comment.