sparc64: Fix return value of Niagara-2 memcpy.
commit1b62ca7bf5775bed048032b7e779561e1fe66aa0
authorDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 08:06:43 +0000 (27 01:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 08:06:43 +0000 (27 01:06 -0700)
treedac210049b36fe6a8b57a8a98a4bc2687fcdcc7c
parenta9e8d1a6b87167116e5779378f1d25ffed2e833b
sparc64: Fix return value of Niagara-2 memcpy.

It gets clobbered by the kernel's VISEntryHalf, so we have to save it
in a different register than the set clobbered by that macro.

The instance in glibc is OK and doesn't have this problem.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/NG2memcpy.S