forked from Minki/linux
sh: Mark kretprobe_trampoline_holder static and __used.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
4ad06dd6f1
commit
e7cb016e5a
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user