diff options
author | Stuart MENEFY <stuart.menefy@st.com> | 2008-07-17 08:08:40 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:37 -0400 |
commit | 0b1689cfbbc5e81a121f550782a201962c1e0ce0 (patch) | |
tree | 76a6eda9bf28f6caa8921a3a05fa208a712b0620 /arch/sh/kernel | |
parent | d7f1a9adc0e34ad4aa4fe246b264add4646ae064 (diff) |
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 <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/entry-common.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index 718bd2356b34..5e0dd1933847 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S | |||
@@ -192,7 +192,7 @@ work_resched: | |||
192 | .align 2 | 192 | .align 2 |
193 | 1: .long schedule | 193 | 1: .long schedule |
194 | 2: .long do_notify_resume | 194 | 2: .long do_notify_resume |
195 | 3: .long restore_all | 195 | 3: .long resume_userspace |
196 | #ifdef CONFIG_TRACE_IRQFLAGS | 196 | #ifdef CONFIG_TRACE_IRQFLAGS |
197 | 4: .long trace_hardirqs_on | 197 | 4: .long trace_hardirqs_on |
198 | 5: .long trace_hardirqs_off | 198 | 5: .long trace_hardirqs_off |