Commit e7cb016e authored by Paul Mundt's avatar Paul Mundt

sh: Mark kretprobe_trampoline_holder static and __used.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4ad06dd6
......@@ -277,7 +277,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
* here. When a retprobed function returns, this probe is hit and
* trampoline_probe_handler() runs, calling the kretprobe's handler.
*/
void kretprobe_trampoline_holder(void)
static void __used kretprobe_trampoline_holder(void)
{
asm volatile ("kretprobe_trampoline: \n" "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