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/copy_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/copy_user.S')
-rw-r--r-- | arch/sparc/lib/copy_user.S | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/sparc/lib/copy_user.S b/arch/sparc/lib/copy_user.S index cea644dc67a6..bc243ee807cc 100644 --- a/arch/sparc/lib/copy_user.S +++ b/arch/sparc/lib/copy_user.S @@ -364,21 +364,7 @@ short_aligned_end: 97: mov %o2, %g3 fixupretl: - sethi %hi(PAGE_OFFSET), %g1 - cmp %o0, %g1 - blu 1f - cmp %o1, %g1 - bgeu 1f - ld [%g6 + TI_PREEMPT], %g1 - cmp %g1, 0 - bne 1f - nop - save %sp, -64, %sp - mov %i0, %o0 - call __bzero - mov %g3, %o1 - restore -1: retl + retl mov %g3, %o0 /* exception routine sets %g2 to (broken_insn - first_insn)>>2 */ |