[PATCH] arm: Enable interrupts before calling schedule()
Thomas Gleixner
tglx at linutronix.de
Fri May 20 08:42:17 PDT 2016
do_work_pending() calls schedule() with interrupts disabled, which is just
wrong. Fix it.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
arch/arm/kernel/signal.c | 1 +
1 file changed, 1 insertion(+)
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -573,6 +573,7 @@ do_work_pending(struct pt_regs *regs, un
trace_hardirqs_off();
do {
if (likely(thread_flags & _TIF_NEED_RESCHED)) {
+ local_irq_enable();
schedule();
} else {
if (unlikely(!user_mode(regs)))
More information about the linux-arm-kernel
mailing list