[SPARC64]: Fix some Niagara memcpy() bugs.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 11 Feb 2006 18:30:41 +0000 (10:30 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:20 +0000 (01:12 -0800)
commit0d4bc95b9c205a7374afbe93b38d9c2757a45862
treee43b03a266da9786355941246b77f30058e7058d
parente92b92571c85dfa1cdc56e88566134c51ae1d12b
[SPARC64]: Fix some Niagara memcpy() bugs.

We need to restore the %asi register properly.
For the kernel this means get_fs(), for user this
means ASI_PNF.

Also, NGcopy_to_user.S was including U3memcpy.S instead
of NGmemcpy.S, oops :-)

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/lib/NGcopy_to_user.S
arch/sparc64/lib/NGmemcpy.S