microblaze: re-enable interrupts before calling schedule
authorSteven J. Magnani <steve@digidescorp.com>
Tue, 27 Apr 2010 18:00:23 +0000 (13:00 -0500)
committerMichal Simek <monstr@monstr.eu>
Thu, 13 May 2010 07:21:01 +0000 (09:21 +0200)
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>
arch/microblaze/kernel/entry-nommu.S

index 391d6197fc3bbfb309f7bf1824c16ef80d2ca4cc..8cc18cd2cce6a6f34186597dd7a66013066fa2aa 100644 (file)
@@ -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