sparc64: Fix strace hiccups when force_successful_syscall() triggers.

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>
This commit is contained in:
Al Viro 2012-10-04 14:13:59 -07:00 • committed by David S. Miller
commit ffa9009c98