aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/ptrace.c')
-rw-r--r--arch/sparc64/kernel/ptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/ptrace.c b/arch/sparc64/kernel/ptrace.c
index 5abf596f5964..c57dc9ea731b 100644
--- a/arch/sparc64/kernel/ptrace.c
+++ b/arch/sparc64/kernel/ptrace.c
@@ -628,10 +628,10 @@ out:
628 unlock_kernel(); 628 unlock_kernel();
629} 629}
630 630
631asmlinkage void syscall_trace(void) 631asmlinkage void syscall_trace(struct pt_regs *regs, int syscall_exit_p)
632{ 632{
633 /* do the secure computing check first */ 633 /* do the secure computing check first */
634 secure_computing(current_thread_info()->kregs->u_regs[UREG_G1]); 634 secure_computing(regs->u_regs[UREG_G1]);
635 635
636 if (!test_thread_flag(TIF_SYSCALL_TRACE)) 636 if (!test_thread_flag(TIF_SYSCALL_TRACE))
637 return; 637 return;