Skip to content

Commit

Permalink
microblaze: re-enable interrupts before calling schedule
Browse files Browse the repository at this point in the history
schedule() should not be called with interrupts disabled.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Steven J. Magnani authored and Michal Simek committed May 13, 2010
1 parent be83567 commit 0d5961b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/microblaze/kernel/entry-nommu.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d5961b

Please sign in to comment.