microblaze: re-enable interrupts before calling schedule
PATCH 1/1 microblaze: re-enable interrupts before calling schedule
schedule() should not be called with interrupts disabled.
Signed-off-by Steven J. Magnani <[email protected]>
---
arch/microblaze/kernel/entry-nommu.S +2 -0
@@ -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
Quoted 9 lines · Steven J. Magnani
schedule()should not be called with interrupts disabled.Signed-off-by Steven J. Magnani <[email protected]>---
diff -uprNa/arch/microblaze/kernel/entry-nommu.Sb/arch/microblaze/kernel/entry-nommu.S
arch/microblaze/kernel/entry-nommu.S ENTRY(ret_from_fork) · line 483
Quoted 8 lines
arch/microblaze/kernel/entry-nommu.S +2
-0@@ -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
Applied
Thanks,
Michal
Signature · 4 lines
Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian