sparc64: Fix strace hiccups when force_successful_syscall() triggers.
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Oct 2012 21:13:59 +0000 (14:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Oct 2012 21:13:59 +0000 (14:13 -0700)
When force_successful_syscall() triggers, the syscall return status
reported the ptrace applications gets garbled.

Fix this by reordering the events and tests in the ret_sys_call path.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found