diff options
Diffstat (limited to 'arch/mips/kernel/signal.c')
-rw-r--r-- | arch/mips/kernel/signal.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index d0c68b5d717b..2ca24d72df87 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c @@ -640,6 +640,14 @@ static void do_signal(struct pt_regs *regs) siginfo_t info; int signr; +#ifdef CONFIG_PREEMPT_RT + /* + * Fully-preemptible kernel does not need interrupts disabled + */ + local_irq_enable(); + preempt_check_resched(); +#endif + /* * We want the common case to go fast, which is why we may in certain * cases get here from kernel mode. Just return without doing anything |