sparc: switch to RAW_COPY_USER

... and drop zeroing in sparc32.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2017-03-21 17:04:45 -04:00
parent 1333eb7856
commit 31af2f36d5
21 changed files with 37 additions and 94 deletions

View file

@ -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 */