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 21:51:08 +0000 (14:51 -0700)
commitee0ab40d6810a03cbd74715889dad558c5f9f02d
treef5b468a4a6473c4b5175175d32b5c4ef72181917
parente6114d1d56548014e6f5323d8c71e9de61486786
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