提交 0d5961b7 编写于 作者: S Steven J. Magnani 提交者: Michal Simek

microblaze: re-enable interrupts before calling schedule

schedule() should not be called with interrupts disabled.
Signed-off-by: NSteven J. Magnani <steve@digidescorp.com>
Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 be835674
......@@ -476,6 +476,8 @@ ENTRY(ret_from_fork)
nop
work_pending:
enable_irq
andi r11, r19, _TIF_NEED_RESCHED
beqi r11, 1f
bralid r15, schedule
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册