From: Chris Metcalf Date: Mon, 12 Aug 2013 18:57:12 +0000 (-0400) Subject: tile: Enable interrupts in do_work_pending() X-Git-Tag: next-20130822~108^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8cf10b4bca9e6c61b764d2e4902b7c3052643217;p=karo-tx-linux.git tile: Enable interrupts in do_work_pending() A recent change triggered a WARN_ON that interrupts were disabled, and in fact other architectures enable interrupts uniformly for their related do_work_pending() type code, and all the things we call from this routine appear to expect interrupts to be enabled. So, enable them. Signed-off-by: Chris Metcalf --- diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 2629ff1b9195..9892f03d5361 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c @@ -550,6 +550,9 @@ int do_work_pending(struct pt_regs *regs, u32 thread_info_flags) } #endif + /* Enable interrupts; they are disabled again on return to caller. */ + local_irq_enable(); + if (thread_info_flags & _TIF_NEED_RESCHED) { schedule(); return 1;