summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-16 16:27:13 +0200
committerClark Williams <williams@redhat.com>2012-04-10 16:36:24 -0500
commitbf1a8d802b2a735e3c62b5595b10dd7dab382782 (patch)
treeabc8c4dc0c34145d9fa3d43e6e3b275dc2c9b640 /arch
parentc634fdfdcf1c3849b8c3db74788251dabc9100e7 (diff)
arm-enable-interrupts-in-signal-code.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-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...
*/