aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall32-o32.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-05 16:11:35 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-09-22 15:47:31 +0200
commit02f884ed46b38c5c386709b2619730ba7a8d200c (patch)
tree9be3af63e825bce7e8175c9bc4956c7ad26b1c1b /arch/mips/kernel/scall32-o32.S
parentMIPS: Unobfuscate _TIF..._MASK (diff)
downloadlinux-dev-02f884ed46b38c5c386709b2619730ba7a8d200c.tar.xz
linux-dev-02f884ed46b38c5c386709b2619730ba7a8d200c.zip
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>
Diffstat (limited to 'arch/mips/kernel/scall32-o32.S')
-rw-r--r--arch/mips/kernel/scall32-o32.S13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index a632bc144efa..dfd47dcbd96c 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -69,18 +69,7 @@ stack_done:
1: sw v0, PT_R2(sp) # result
o32_syscall_exit:
- local_irq_disable # make sure need_resched and
- # signals dont change between
- # sampling and return
- lw a2, TI_FLAGS($28) # current->work
- li t0, _TIF_ALLWORK_MASK
- and t0, a2
- bnez t0, o32_syscall_exit_work
-
- j restore_partial
-
-o32_syscall_exit_work:
- j syscall_exit_work_partial
+ j syscall_exit_partial
/* ------------------------------------------------------------------------ */