diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-07 23:02:17 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-07 23:02:17 -0400 |
commit | e7cb016e5a3163e2999d8715390d64eb46816655 (patch) | |
tree | d470a479770965a0d6bd88874d4e5502e8d6257c /arch/sh/kernel/kprobes.c | |
parent | 4ad06dd6f1ec745c5ee0e37ec26b1b817f88507a (diff) |
sh: Mark kretprobe_trampoline_holder static and __used.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/kprobes.c')
-rw-r--r-- | arch/sh/kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index c4f4a0923eb9..ac6074942fd6 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c | |||
@@ -277,7 +277,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs) | |||
277 | * here. When a retprobed function returns, this probe is hit and | 277 | * here. When a retprobed function returns, this probe is hit and |
278 | * trampoline_probe_handler() runs, calling the kretprobe's handler. | 278 | * trampoline_probe_handler() runs, calling the kretprobe's handler. |
279 | */ | 279 | */ |
280 | void kretprobe_trampoline_holder(void) | 280 | static void __used kretprobe_trampoline_holder(void) |
281 | { | 281 | { |
282 | asm volatile ("kretprobe_trampoline: \n" "nop\n"); | 282 | asm volatile ("kretprobe_trampoline: \n" "nop\n"); |
283 | } | 283 | } |