sh: Don't miss pending signals returning to user mode after signal processing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, July 28, 2008 - 10:09 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b1689...
Commit:     0b1689cfbbc5e81a121f550782a201962c1e0ce0
Parent:     d7f1a9adc0e34ad4aa4fe246b264add4646ae064
Author:     Stuart MENEFY <stuart.menefy@st.com>
AuthorDate: Thu Jul 17 13:08:40 2008 +0100
Committer:  Paul Mundt <lethal@linux-sh.org>
CommitDate: Mon Jul 28 18:10:37 2008 +0900

    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>
---
 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 718bd23..5e0dd19 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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sh: Don't miss pending signals returning to user mode afte ..., Linux Kernel Mailing ..., (Mon Jul 28, 10:09 am)