]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] kprobe: make kreturn probe handler stack unwind correct
authorShaohua Li <shaohua.li@intel.com>
Tue, 13 Nov 2007 06:55:20 +0000 (14:55 +0800)
committerTony Luck <tony.luck@intel.com>
Sat, 8 Dec 2007 00:12:50 +0000 (16:12 -0800)
commit3661999a17b0397c7a93c200b280c55958ba3593
tree896f2b9a6580423cc7629dce446e7483eaba313c
parent965d747264c91ed206846d74ae09f757a36a373b
[IA64] kprobe: make kreturn probe handler stack unwind correct

Restore regs->ccr_iip before kreturn probe handler runs. In this way, if
probe handler does unwind, unwind can correctly get the stack trace.

Fixes: http://sourceware.org/bugzilla/show_bug.cgi?id=5051
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/kprobes.c