sh: kprobes: kretprobe_trampoline needs to be global.
Needed by CONFIG_TRACING. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
61098a0866
commit
6eb2139b3d
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue