sh: Mark kretprobe_trampoline_holder static and __used.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2008-09-08 12:02:17 +09:00
parent 4ad06dd6f1
commit e7cb016e5a

View File

@ -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");
}