diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-03-21 22:04:45 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-02 18:53:15 +0200 |
commit | 31af2f36d50e3b9b2fb7f17aa430c11c91f946c4 (patch) | |
tree | 3e182f8233f77a3c0aa8f0e095a2f902defb9b27 /arch/sparc/lib/U1copy_from_user.S | |
parent | sparc32: kill __ret_efault() (diff) | |
download | linux-31af2f36d50e3b9b2fb7f17aa430c11c91f946c4.tar.xz linux-31af2f36d50e3b9b2fb7f17aa430c11c91f946c4.zip |
sparc: switch to RAW_COPY_USER
... and drop zeroing in sparc32.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/lib/U1copy_from_user.S')
-rw-r--r-- | arch/sparc/lib/U1copy_from_user.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/lib/U1copy_from_user.S b/arch/sparc/lib/U1copy_from_user.S index bb6ff73229e3..9a6e68a9bf4a 100644 --- a/arch/sparc/lib/U1copy_from_user.S +++ b/arch/sparc/lib/U1copy_from_user.S @@ -19,7 +19,7 @@ .text; \ .align 4; -#define FUNC_NAME ___copy_from_user +#define FUNC_NAME raw_copy_from_user #define LOAD(type,addr,dest) type##a [addr] %asi, dest #define LOAD_BLK(addr,dest) ldda [addr] ASI_BLK_AIUS, dest #define EX_RETVAL(x) 0 @@ -31,7 +31,7 @@ #define PREAMBLE \ rd %asi, %g1; \ cmp %g1, ASI_AIUS; \ - bne,pn %icc, ___copy_in_user; \ + bne,pn %icc, raw_copy_in_user; \ nop; \ #include "U1memcpy.S" |