From edcb98d1db7d0320d7b1920c05a4f1cafe7cb798 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 29 Nov 2005 13:01:01 +0000 Subject: [MIPS] Fix return path of sysmips(MIPS_ATOMIC_SET, ...) The way we were doing things does no longer work on 2.6. Signed-off-by: Ralf Baechle --- arch/mips/kernel/scall64-64.S | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'arch/mips/kernel/scall64-64.S') diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S index 9085838d6ce3..cb28de6a2efa 100644 --- a/arch/mips/kernel/scall64-64.S +++ b/arch/mips/kernel/scall64-64.S @@ -174,19 +174,7 @@ illegal_syscall: sd zero, PT_R7(sp) # success sd v0, PT_R2(sp) # result - /* Success, so skip usual error handling garbage. */ - li t0, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT - LONG_L a2, TI_FLAGS($28) # syscall tracing enabled? - and t0, a2, t0 - bnez t0, 1f - - j n64_syscall_exit - -1: SAVE_STATIC - move a0, sp - li a1, 1 - jal do_syscall_trace - j syscall_exit + j n64_syscall_exit # continue like a normal syscall no_mem: li v0, -ENOMEM jr ra -- cgit v1.2.2