Skip to content

Commit

Permalink
sh: Mark kretprobe_trampoline_holder static and __used.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 8, 2008
1 parent 4ad06dd commit e7cb016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit e7cb016

Please sign in to comment.