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 <tkhai@yandex.ru>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Kirill Tkhai 2013-07-26 01:17:15 +04:00 committed by Greg Kroah-Hartman
parent 81cc233562
commit 5d8bce850e
1 changed files with 1 additions and 1 deletions

View File

@ -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