aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/scall64-n32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/scall64-n32.S')
-rw-r--r--arch/mips/kernel/scall64-n32.S14
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index 6be6f7020923..f6ba8381ee01 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -70,18 +70,7 @@ NESTED(handle_sysn32, PT_SIZE, sp)
70 sd t1, PT_R0(sp) # save it for syscall restarting 70 sd t1, PT_R0(sp) # save it for syscall restarting
711: sd v0, PT_R2(sp) # result 711: sd v0, PT_R2(sp) # result
72 72
73 local_irq_disable # make sure need_resched and 73 j syscall_exit_partial
74 # signals dont change between
75 # sampling and return
76 LONG_L a2, TI_FLAGS($28) # current->work
77 li t0, _TIF_ALLWORK_MASK
78 and t0, a2, t0
79 bnez t0, n32_syscall_exit_work
80
81 j restore_partial
82
83n32_syscall_exit_work:
84 j syscall_exit_work_partial
85 74
86/* ------------------------------------------------------------------------ */ 75/* ------------------------------------------------------------------------ */
87 76
@@ -432,4 +421,5 @@ EXPORT(sysn32_call_table)
432 PTR sys_setns 421 PTR sys_setns
433 PTR compat_sys_process_vm_readv 422 PTR compat_sys_process_vm_readv
434 PTR compat_sys_process_vm_writev /* 6310 */ 423 PTR compat_sys_process_vm_writev /* 6310 */
424 PTR sys_kcmp
435 .size sysn32_call_table,.-sysn32_call_table 425 .size sysn32_call_table,.-sysn32_call_table