diff options
Diffstat (limited to 'arch/powerpc/kernel/kprobes.c')
-rw-r--r-- | arch/powerpc/kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c index 2a2c696dcc7a..3d54ad7dd1f9 100644 --- a/arch/powerpc/kernel/kprobes.c +++ b/arch/powerpc/kernel/kprobes.c | |||
@@ -336,7 +336,7 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) | |||
336 | break; | 336 | break; |
337 | } | 337 | } |
338 | 338 | ||
339 | BUG_ON(!orig_ret_address || (orig_ret_address == trampoline_address)); | 339 | kretprobe_assert(ri, orig_ret_address, trampoline_address); |
340 | regs->nip = orig_ret_address; | 340 | regs->nip = orig_ret_address; |
341 | 341 | ||
342 | reset_current_kprobe(); | 342 | reset_current_kprobe(); |