diff options
-rw-r--r-- | arch/sh/kernel/kprobes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index e357e3669a34..c96850b061fb 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c | |||
@@ -290,7 +290,9 @@ no_kprobe: | |||
290 | */ | 290 | */ |
291 | static void __used kretprobe_trampoline_holder(void) | 291 | static void __used kretprobe_trampoline_holder(void) |
292 | { | 292 | { |
293 | asm volatile ("kretprobe_trampoline: \n" "nop\n"); | 293 | asm volatile (".globl kretprobe_trampoline\n" |
294 | "kretprobe_trampoline:\n\t" | ||
295 | "nop\n"); | ||
294 | } | 296 | } |
295 | 297 | ||
296 | /* | 298 | /* |