mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
1333eb7856
commit
31af2f36d5
21 changed files with 37 additions and 94 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue