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

Fix preemption bug.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 ebc7f12f
...@@ -58,9 +58,8 @@ need_resched: ...@@ -58,9 +58,8 @@ need_resched:
LONG_L t0, PT_STATUS(sp) # Interrupts off? LONG_L t0, PT_STATUS(sp) # Interrupts off?
andi t0, 1 andi t0, 1
beqz t0, restore_all beqz t0, restore_all
li t0, PREEMPT_ACTIVE
sw t0, TI_PRE_COUNT($28)
jal preempt_schedule_irq jal preempt_schedule_irq
b need_resched
#endif #endif
FEXPORT(ret_from_fork) FEXPORT(ret_from_fork)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册