Skip to content

Commit 0b1689c

Browse files
Stuart MENEFYpmundt
authored andcommitted
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 c3ff8ec which was for the i386. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent d7f1a9a commit 0b1689c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sh/kernel/entry-common.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ work_resched:
192192
.align 2
193193
1: .long schedule
194194
2: .long do_notify_resume
195-
3: .long restore_all
195+
3: .long resume_userspace
196196
#ifdef CONFIG_TRACE_IRQFLAGS
197197
4: .long trace_hardirqs_on
198198
5: .long trace_hardirqs_off

0 commit comments

Comments
 (0)