get_signal_to_deliver() calls try_to_freeze() which might sleep. Cc: Russell King <linux@xxxxxxxxxxxxxxxx> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx Signed-off-by: Richard Weinberger <richard@xxxxxx> --- arch/arm/kernel/signal.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c index 4e5fdd9..434a1f3 100644 --- a/arch/arm/kernel/signal.c +++ b/arch/arm/kernel/signal.c @@ -13,6 +13,7 @@ #include <linux/freezer.h> #include <linux/uaccess.h> #include <linux/tracehook.h> +#include <linux/irqflags.h> #include <asm/elf.h> #include <asm/cacheflush.h> @@ -722,6 +723,8 @@ static void do_signal(struct pt_regs *regs, int syscall) asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned int thread_flags, int syscall) { + local_irq_enable(); + if (thread_flags & _TIF_SIGPENDING) do_signal(regs, syscall); -- 1.7.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html