mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-04 10:38:20 +00:00
MIPS: Loongson: Remove redundant local_irq_disable()
That code is executed with irq disabled already, so, remove the redundant local_irq_disable() here. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
01a6fbf759
commit
b40bb20e74
@ -55,7 +55,6 @@ void __init arch_init_irq(void)
|
|||||||
* int-handler is not on bootstrap
|
* int-handler is not on bootstrap
|
||||||
*/
|
*/
|
||||||
clear_c0_status(ST0_IM | ST0_BEV);
|
clear_c0_status(ST0_IM | ST0_BEV);
|
||||||
local_irq_disable();
|
|
||||||
|
|
||||||
/* setting irq trigger mode */
|
/* setting irq trigger mode */
|
||||||
set_irq_trigger_mode();
|
set_irq_trigger_mode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user