diff options
Diffstat (limited to 'arch/ia64/kernel/kprobes.c')
-rw-r--r-- | arch/ia64/kernel/kprobes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index 779fe00c902..353689edebd 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(); |