[S390] Make use of kretprobe_assert.

s390 change for git commit 0f95b7fc83.
That is print kprobes debug data before BUG().

Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Maneesh Soni <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
Heiko Carstens 2007-05-21 11:25:22 +02:00 • committed by Martin Schwidefsky
commit a5a60a2bee

View file

@ -413,7 +413,7 @@ static int __kprobes trampoline_probe_handler(struct kprobe *p,
break;
}
}
BUG_ON(!orig_ret_address || (orig_ret_address == trampoline_address));
kretprobe_assert(ri, orig_ret_address, trampoline_address);
regs->psw.addr = orig_ret_address | PSW_ADDR_AMODE;
reset_current_kprobe();