From: Stuart MENEFY Date: Thu, 17 Jul 2008 12:08:40 +0000 (+0100) Subject: sh: Don't miss pending signals returning to user mode after signal processing X-Git-Tag: v2.6.27-rc1~29^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0b1689cfbbc5e81a121f550782a201962c1e0ce0;p=linux-2.6-omap-h63xx.git sh: Don't miss pending signals returning to user mode after signal processing Without this patch, signals sent during architecture specific signal handling (typically as a result of the user's stack being inaccessible) are ignored. This is the SH version of commit c3ff8ec31c1249d268cd11390649768a12bec1b9 which was for the i386. Signed-off-by: Stuart Menefy Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index 718bd2356b3..5e0dd193384 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S @@ -192,7 +192,7 @@ work_resched: .align 2 1: .long schedule 2: .long do_notify_resume -3: .long restore_all +3: .long resume_userspace #ifdef CONFIG_TRACE_IRQFLAGS 4: .long trace_hardirqs_on 5: .long trace_hardirqs_off