diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-09 08:13:28 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-09 08:13:28 +0900 |
commit | 6eb2139b3dc3e1c5181a7cdf83a517c57c34bb12 (patch) | |
tree | 438689945f9d279095f6ec6da09e66bbc42ab092 /arch/sh/kernel/kprobes.c | |
parent | 61098a086671e2d386104e562fb7cd97cc197d1b (diff) | |
download | kernel_samsung_smdk4412-6eb2139b3dc3e1c5181a7cdf83a517c57c34bb12.zip kernel_samsung_smdk4412-6eb2139b3dc3e1c5181a7cdf83a517c57c34bb12.tar.gz kernel_samsung_smdk4412-6eb2139b3dc3e1c5181a7cdf83a517c57c34bb12.tar.bz2 |
sh: kprobes: kretprobe_trampoline needs to be global.
Needed by CONFIG_TRACING.
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c index e357e36..c96850b 100644 --- a/arch/sh/kernel/kprobes.c +++ b/arch/sh/kernel/kprobes.c @@ -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"); } /* |