Commit 0d5961b7 authored by Steven J. Magnani's avatar Steven J. Magnani Committed by Michal Simek

microblaze: re-enable interrupts before calling schedule

schedule() should not be called with interrupts disabled.
Signed-off-by: default avatarSteven J. Magnani <steve@digidescorp.com>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent be835674
...@@ -476,6 +476,8 @@ ENTRY(ret_from_fork) ...@@ -476,6 +476,8 @@ ENTRY(ret_from_fork)
nop nop
work_pending: work_pending:
enable_irq
andi r11, r19, _TIF_NEED_RESCHED andi r11, r19, _TIF_NEED_RESCHED
beqi r11, 1f beqi r11, 1f
bralid r15, schedule bralid r15, schedule
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment