alpha: fix WARN_ON in __local_bh_enable()
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>
This commit is contained in:
parent
e2609f6aa2
commit
f5de6ecc84
|
@ -160,15 +160,14 @@ handle_irq(int irq)
|
||||||
return;
|
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
|
* explicitly enable interrupts afterwards - some MILO PALcode
|
||||||
* (namely LX164 one) seems to have severe problems with RTI
|
* (namely LX164 one) seems to have severe problems with RTI
|
||||||
* at IPL 0.
|
* at IPL 0.
|
||||||
*/
|
*/
|
||||||
local_irq_disable();
|
local_irq_disable();
|
||||||
|
irq_enter();
|
||||||
generic_handle_irq_desc(irq, desc);
|
generic_handle_irq_desc(irq, desc);
|
||||||
irq_exit();
|
irq_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue