aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/lib/NGcopy_to_user.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-11 10:30:41 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:12:20 -0800
commit0d4bc95b9c205a7374afbe93b38d9c2757a45862 (patch)
treee43b03a266da9786355941246b77f30058e7058d /arch/sparc64/lib/NGcopy_to_user.S
parent[SPARC64]: Handle hypervisor case correctly in copy_tsb(). (diff)
downloadlinux-dev-0d4bc95b9c205a7374afbe93b38d9c2757a45862.tar.xz
linux-dev-0d4bc95b9c205a7374afbe93b38d9c2757a45862.zip
[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>
Diffstat (limited to 'arch/sparc64/lib/NGcopy_to_user.S')
-rw-r--r--arch/sparc64/lib/NGcopy_to_user.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/lib/NGcopy_to_user.S b/arch/sparc64/lib/NGcopy_to_user.S
index 4a12395b4502..34112d5054ef 100644
--- a/arch/sparc64/lib/NGcopy_to_user.S
+++ b/arch/sparc64/lib/NGcopy_to_user.S
@@ -37,4 +37,4 @@
nop
#endif
-#include "U3memcpy.S"
+#include "NGmemcpy.S"