sparc64: Fix not SRA'ed %o5 in 32-bit traced syscall
authorKirill Tkhai <tkhai@yandex.ru>
Fri, 26 Jul 2013 13:21:12 +0000 (17:21 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 22:42:49 +0000 (15:42 -0700)
commit81cc233562f1b23db5bae2699f2f69e1f6dc9408
treef83049feb9fc8b900784575e5462349c90c12df3
parent7df3eb5b0039aeec6e54b961dbebd61cb80a4bb3
sparc64: Fix not SRA'ed %o5 in 32-bit traced syscall

[ Upstream commit ab2abda6377723e0d5fbbfe5f5aa16a5523344d1 ]

(From v1 to v2: changed comment)

On the way linux_sparc_syscall32->linux_syscall_trace32->goto 2f,
register %o5 doesn't clear its second 32-bit.

Fix that.

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>
arch/sparc/kernel/syscalls.S