mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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
|
|
@ -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…
Reference in New Issue
Block a user