diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-05 16:11:35 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-09-22 09:47:31 -0400 |
commit | 02f884ed46b38c5c386709b2619730ba7a8d200c (patch) | |
tree | 9be3af63e825bce7e8175c9bc4956c7ad26b1c1b /arch/mips/kernel/scall64-o32.S | |
parent | 0b894bd8e462644fceb290adf5b349ef834d761b (diff) |
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/scall64-o32.S')
-rw-r--r-- | arch/mips/kernel/scall64-o32.S | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 54228553691d..9b040e4b84d4 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S | |||
@@ -99,18 +99,7 @@ NESTED(handle_sys, PT_SIZE, sp) | |||
99 | 1: sd v0, PT_R2(sp) # result | 99 | 1: sd v0, PT_R2(sp) # result |
100 | 100 | ||
101 | o32_syscall_exit: | 101 | o32_syscall_exit: |
102 | local_irq_disable # make need_resched and | 102 | j syscall_exit_partial |
103 | # signals dont change between | ||
104 | # sampling and return | ||
105 | LONG_L a2, TI_FLAGS($28) | ||
106 | li t0, _TIF_ALLWORK_MASK | ||
107 | and t0, a2, t0 | ||
108 | bnez t0, o32_syscall_exit_work | ||
109 | |||
110 | j restore_partial | ||
111 | |||
112 | o32_syscall_exit_work: | ||
113 | j syscall_exit_work_partial | ||
114 | 103 | ||
115 | /* ------------------------------------------------------------------------ */ | 104 | /* ------------------------------------------------------------------------ */ |
116 | 105 | ||