summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-16 16:27:13 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-05-20 13:45:12 -0400
commitecaceb97e398787588dd86a2f56b3f7f7abf013f (patch)
tree69cc87728d4b15c6cd322b594828b5e03761cedd /arch/arm
parentd0bba0aeea89a789c1afd9d462beb14e3def6242 (diff)
downloadlinux-rt-ecaceb97e398787588dd86a2f56b3f7f7abf013f.tar.gz
arm-enable-interrupts-in-signal-code.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/kernel/signal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
index 9e617bd4a146..c7001bc72eb0 100644
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -672,6 +672,9 @@ static void do_signal(struct pt_regs *regs, int syscall)
if (!user_mode(regs))
return;
+ local_irq_enable();
+ preempt_check_resched();
+
/*
* If we were from a system call, check for system call restarting...
*/