[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>
This commit is contained in:
David S. Miller
2006-02-11 10:30:41 -08:00
parent e92b92571c
commit 0d4bc95b9c
2 changed files with 8 additions and 4 deletions

View File

@@ -37,4 +37,4 @@
nop
#endif
#include "U3memcpy.S"
#include "NGmemcpy.S"