aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kprobes.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/kprobes.c')
-rw-r--r--arch/x86/kernel/kprobes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c
index 521a469acaad..f0f2b98b9e20 100644
--- a/arch/x86/kernel/kprobes.c
+++ b/arch/x86/kernel/kprobes.c
@@ -467,7 +467,8 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
467 arch_disarm_kprobe(p); 467 arch_disarm_kprobe(p);
468 regs->ip = (unsigned long)p->addr; 468 regs->ip = (unsigned long)p->addr;
469 reset_current_kprobe(); 469 reset_current_kprobe();
470 return 1; 470 ret = 1;
471 goto no_kprobe;
471#endif 472#endif
472 } 473 }
473 /* We have reentered the kprobe_handler(), since 474 /* We have reentered the kprobe_handler(), since