sparc32: Fix exit flag passed from traced sys_sigreturn
authorKirill Tkhai <tkhai@yandex.ru>
Thu, 25 Jul 2013 21:17:15 +0000 (01:17 +0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2013 02:10:04 +0000 (19:10 -0700)
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>
arch/sparc/kernel/entry.S

index e2a030045089f8c06acc55167e332e4ab13a1da5..33c02b15f47859a8262677d08635fcfdbb8872cb 100644 (file)
@@ -839,7 +839,7 @@ sys_sigreturn:
         nop
 
        call    syscall_trace
-        nop
+        mov    1, %o1
 
 1:
        /* We don't want to muck with user registers like a