summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSteven J. Magnani <steve@digidescorp.com>2010-04-27 13:00:23 -0500
committerMichal Simek <monstr@monstr.eu>2010-05-03 17:36:13 +0200
commit9f2ffe571edf0a94a7e1e0faa86724ee31f21ad8 (patch)
tree3daf7a688b653b23b34f4cad71519b25d4e877a0 /arch
parentd44bae055e190dfc14bc29b449c0fa209dfa9b1d (diff)
microblaze: re-enable interrupts before calling schedule
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/kernel/entry-nommu.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/entry-nommu.S b/arch/microblaze/kernel/entry-nommu.S
index 391d6197fc3b..8cc18cd2cce6 100644
--- a/arch/microblaze/kernel/entry-nommu.S
+++ b/arch/microblaze/kernel/entry-nommu.S
@@ -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