aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/kprobes.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/kprobes.c')
-rw-r--r--arch/ia64/kernel/kprobes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c
index 779fe00c9025..353689edebd5 100644
--- a/arch/ia64/kernel/kprobes.c
+++ b/arch/ia64/kernel/kprobes.c
@@ -444,7 +444,8 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
444 break; 444 break;
445 } 445 }
446 446
447 BUG_ON(!orig_ret_address || (orig_ret_address == trampoline_address)); 447 kretprobe_assert(ri, orig_ret_address, trampoline_address);
448
448 regs->cr_iip = orig_ret_address; 449 regs->cr_iip = orig_ret_address;
449 450
450 reset_current_kprobe(); 451 reset_current_kprobe();