diff options
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
548 | if (!user_mode(regs)) | 548 | if (!user_mode(regs)) |
549 | return 0; | 549 | return 0; |
550 | 550 | ||
551 | /* Enable interrupts; they are disabled again on return to caller. */ | ||
552 | local_irq_enable(); | ||
553 | |||
551 | if (thread_info_flags & _TIF_NEED_RESCHED) { | 554 | if (thread_info_flags & _TIF_NEED_RESCHED) { |
552 | schedule(); | 555 | schedule(); |
553 | return 1; | 556 | return 1; |