sh: Don't miss pending signals returning to user mode after signal processing
authorStuart MENEFY <stuart.menefy@st.com>
Thu, 17 Jul 2008 12:08:40 +0000 (13:08 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:37 +0000 (18:10 +0900)
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 <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/entry-common.S

index 718bd2356b34bf109a9608d0b6b7d20549dc310a..5e0dd1933847b5cbd772e4681f6a7b149fafa5b3 100644 (file)
@@ -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