Commit 6eb2139b authored by Paul Mundt's avatar Paul Mundt

sh: kprobes: kretprobe_trampoline needs to be global.

Needed by CONFIG_TRACING.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 61098a08
......@@ -290,7 +290,9 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
*/
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment