]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: kprobes: kretprobe_trampoline needs to be global.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 8 Sep 2008 23:13:28 +0000 (08:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 8 Sep 2008 23:13:28 +0000 (08:13 +0900)
Needed by CONFIG_TRACING.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/kprobes.c

index e357e3669a34e47d47d6fd015df5046e95313404..c96850b061fb8e4830c26afd5c083ab861ab0a06 100644 (file)
@@ -290,7 +290,9 @@ no_kprobe:
  */
 static void __used kretprobe_trampoline_holder(void)
 {
-       asm volatile ("kretprobe_trampoline: \n" "nop\n");
+       asm volatile (".globl kretprobe_trampoline\n"
+                     "kretprobe_trampoline:\n\t"
+                     "nop\n");
 }
 
 /*