Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14920
b: refs/heads/master
c: edcb98d
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Dec 1, 2005
1 parent 4a569ab commit 98aa202
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe3d72858c34a464976c6f8076971e2862d5c3b8
refs/heads/master: edcb98d1db7d0320d7b1920c05a4f1cafe7cb798
14 changes: 1 addition & 13 deletions trunk/arch/mips/kernel/scall32-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -241,19 +241,7 @@ illegal_syscall:
sw zero, PT_R7(sp) # success
sw v0, PT_R2(sp) # result

/* Success, so skip usual error handling garbage. */
lw a2, TI_FLAGS($28) # syscall tracing enabled?
li t0, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT
and t0, a2, t0
bnez t0, 1f

j o32_syscall_exit

1: SAVE_STATIC
move a0, sp
li a1, 1
jal do_syscall_trace
j syscall_exit
j o32_syscall_exit # continue like a normal syscall

no_mem: li v0, -ENOMEM
jr ra
Expand Down
14 changes: 1 addition & 13 deletions trunk/arch/mips/kernel/scall64-64.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98aa202

Please sign in to comment.