提交 0b1689cf 编写于 作者: S Stuart MENEFY 提交者: Paul Mundt

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 c3ff8ec3
which was for the i386.
Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 d7f1a9ad
...@@ -192,7 +192,7 @@ work_resched: ...@@ -192,7 +192,7 @@ work_resched:
.align 2 .align 2
1: .long schedule 1: .long schedule
2: .long do_notify_resume 2: .long do_notify_resume
3: .long restore_all 3: .long resume_userspace
#ifdef CONFIG_TRACE_IRQFLAGS #ifdef CONFIG_TRACE_IRQFLAGS
4: .long trace_hardirqs_on 4: .long trace_hardirqs_on
5: .long trace_hardirqs_off 5: .long trace_hardirqs_off
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册