提交 d9912d87 编写于 作者: R Ralf Baechle

Inlining will result in back-to-back mtc0 mfc0 instructions. Break the

hazard by using back_to_back_c0_hazard().
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 d3ffd085
......@@ -55,6 +55,7 @@ static inline void mips_cpu_irq_enable(unsigned int irq)
local_irq_save(flags);
unmask_mips_irq(irq);
back_to_back_c0_hazard();
local_irq_restore(flags);
}
......@@ -64,6 +65,7 @@ static void mips_cpu_irq_disable(unsigned int irq)
local_irq_save(flags);
mask_mips_irq(irq);
back_to_back_c0_hazard();
local_irq_restore(flags);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册