MIPS: Merge the identical "return from syscall" per-ABI code
No need to keep 4 copies of that stuff; merged and taken to entry.S, unused public symbols there killed off. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -99,18 +99,7 @@ NESTED(handle_sys, PT_SIZE, sp)
|
||||
1: sd v0, PT_R2(sp) # result
|
||||
|
||||
o32_syscall_exit:
|
||||
local_irq_disable # make need_resched and
|
||||
# signals dont change between
|
||||
# sampling and return
|
||||
LONG_L a2, TI_FLAGS($28)
|
||||
li t0, _TIF_ALLWORK_MASK
|
||||
and t0, a2, t0
|
||||
bnez t0, o32_syscall_exit_work
|
||||
|
||||
j restore_partial
|
||||
|
||||
o32_syscall_exit_work:
|
||||
j syscall_exit_work_partial
|
||||
j syscall_exit_partial
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
||||
|
Reference in New Issue
Block a user