提交 6eb2139b 编写于 作者: P Paul Mundt

sh: kprobes: kretprobe_trampoline needs to be global.

Needed by CONFIG_TRACING.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 61098a08
...@@ -290,7 +290,9 @@ static int __kprobes kprobe_handler(struct pt_regs *regs) ...@@ -290,7 +290,9 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
*/ */
static void __used kretprobe_trampoline_holder(void) static void __used kretprobe_trampoline_holder(void)
{ {
asm volatile ("kretprobe_trampoline: \n" "nop\n"); asm volatile (".globl kretprobe_trampoline\n"
"kretprobe_trampoline:\n\t"
"nop\n");
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册