From c19c6c954b9b264abdc21e0c855118e3daf019b0 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Fri, 12 Oct 2012 15:38:54 -0400 Subject: arch/tile: enable interrupts in do_work_pending() All the called functions expect interrupts to be enabled, and now one of them has started to warn about it, so make it correct. Signed-off-by: Chris Metcalf --- arch/tile/kernel/process.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch') diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 6be799150501..4f1a2413e865 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c @@ -548,6 +548,9 @@ int do_work_pending(struct pt_regs *regs, u32 thread_info_flags) if (!user_mode(regs)) return 0; + /* Enable interrupts; they are disabled again on return to caller. */ + local_irq_enable(); + if (thread_info_flags & _TIF_NEED_RESCHED) { schedule(); return 1; -- cgit v1.2.3