From: Roland McGrath <roland@redhat.com>
Date: Sun, 11 Sep 2005 08:44:45 +0000 (-0700)
Subject: [PATCH] i386: Don't miss pending signals returning to user mode after signal processing
X-Git-Tag: v2.6.14-rc1~92
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c3ff8ec31c1249d268cd11390649768a12bec1b9;p=linux-2.6-omap-h63xx.git

[PATCH] i386: Don't miss pending signals returning to user mode after signal processing

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/arch/i386/kernel/entry.S b/arch/i386/kernel/entry.S
index 3aad0383966..9e24f7b207e 100644
--- a/arch/i386/kernel/entry.S
+++ b/arch/i386/kernel/entry.S
@@ -319,7 +319,7 @@ work_notifysig:				# deal with pending signals and
 					# vm86-space
 	xorl %edx, %edx
 	call do_notify_resume
-	jmp restore_all
+	jmp resume_userspace
 
 	ALIGN
 work_notifysig_v86:
@@ -329,7 +329,7 @@ work_notifysig_v86:
 	movl %eax, %esp
 	xorl %edx, %edx
 	call do_notify_resume
-	jmp restore_all
+	jmp resume_userspace
 
 	# perform syscall exit tracing
 	ALIGN