aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/ptrace.c')
-rw-r--r--arch/x86/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index 34d27b2dc7a1..8f8f197389db 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
@@ -1369,7 +1369,7 @@ void send_sigtrap(struct pt_regs *regs, int error_code, int si_code)
1369 1369
1370 /* Send us the fake SIGTRAP */ 1370 /* Send us the fake SIGTRAP */
1371 force_sig_fault(SIGTRAP, si_code, 1371 force_sig_fault(SIGTRAP, si_code,
1372 user_mode(regs) ? (void __user *)regs->ip : NULL, current); 1372 user_mode(regs) ? (void __user *)regs->ip : NULL);
1373} 1373}
1374 1374
1375void user_single_step_report(struct pt_regs *regs) 1375void user_single_step_report(struct pt_regs *regs)