From: Kirill Tkhai Date: Thu, 25 Jul 2013 21:17:15 +0000 (+0400) Subject: sparc32: Fix exit flag passed from traced sys_sigreturn X-Git-Tag: v3.4.66~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d8bce850e56ccbfbf9d8c8d6db3e8c229c7b9bb;p=platform%2Fkernel%2Flinux-stable.git sparc32: Fix exit flag passed from traced sys_sigreturn [ Upstream commit 7a3b0f89e3fea680f93932691ca41a68eee7ab5e ] Pass 1 in %o1 to indicate that syscall_trace accounts exit. Signed-off-by: Kirill Tkhai CC: David Miller Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S index f445e98..cfabc3d 100644 --- a/arch/sparc/kernel/entry.S +++ b/arch/sparc/kernel/entry.S @@ -1177,7 +1177,7 @@ sys_sigreturn: nop call syscall_trace - nop + mov 1, %o1 1: /* We don't want to muck with user registers like a