diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-11 13:30:41 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:12:20 -0500 |
commit | 0d4bc95b9c205a7374afbe93b38d9c2757a45862 (patch) | |
tree | e43b03a266da9786355941246b77f30058e7058d /arch/sparc64/lib/NGcopy_to_user.S | |
parent | e92b92571c85dfa1cdc56e88566134c51ae1d12b (diff) |
[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.S | 2 |
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 @@ | |||
37 | nop | 37 | nop |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #include "U3memcpy.S" | 40 | #include "NGmemcpy.S" |