From: Steven J. Magnani Date: Tue, 27 Apr 2010 18:00:23 +0000 (-0500) Subject: microblaze: re-enable interrupts before calling schedule X-Git-Tag: firefly_0821_release~9833^2~2165^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0d5961b7f612f8f54fd6fbe1942cdfb141cddfb9;p=firefly-linux-kernel-4.4.55.git microblaze: re-enable interrupts before calling schedule schedule() should not be called with interrupts disabled. Signed-off-by: Steven J. Magnani Signed-off-by: Michal Simek --- 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