mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
[MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
04a7052c83
commit
85b0549602
3 changed files with 0 additions and 8 deletions
|
@ -279,8 +279,6 @@ irix_sigreturn(struct pt_regs *regs)
|
|||
/*
|
||||
* Don't let your children do this ...
|
||||
*/
|
||||
if (current_thread_info()->flags & TIF_SYSCALL_TRACE)
|
||||
do_syscall_trace(regs, 1);
|
||||
__asm__ __volatile__(
|
||||
"move\t$29,%0\n\t"
|
||||
"j\tsyscall_exit"
|
||||
|
@ -783,8 +781,6 @@ asmlinkage void irix_setcontext(struct pt_regs *regs)
|
|||
/*
|
||||
* Don't let your children do this ...
|
||||
*/
|
||||
if (current_thread_info()->flags & TIF_SYSCALL_TRACE)
|
||||
do_syscall_trace(regs, 1);
|
||||
__asm__ __volatile__(
|
||||
"move\t$29,%0\n\t"
|
||||
"j\tsyscall_exit"
|
||||
|
|
|
@ -220,8 +220,6 @@ _sys_sigreturn(nabi_no_regargs struct pt_regs regs)
|
|||
/*
|
||||
* Don't let your children do this ...
|
||||
*/
|
||||
if (current_thread_info()->flags & TIF_SYSCALL_TRACE)
|
||||
do_syscall_trace(®s, 1);
|
||||
__asm__ __volatile__(
|
||||
"move\t$29, %0\n\t"
|
||||
"j\tsyscall_exit"
|
||||
|
|
|
@ -497,8 +497,6 @@ _sys32_sigreturn(nabi_no_regargs struct pt_regs regs)
|
|||
/*
|
||||
* Don't let your children do this ...
|
||||
*/
|
||||
if (current_thread_info()->flags & TIF_SYSCALL_TRACE)
|
||||
do_syscall_trace(®s, 1);
|
||||
__asm__ __volatile__(
|
||||
"move\t$29, %0\n\t"
|
||||
"j\tsyscall_exit"
|
||||
|
|
Loading…
Reference in a new issue