Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7cb016e authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Mark kretprobe_trampoline_holder static and __used.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4ad06dd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
}