summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ftrace.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2009-02-12 01:10:57 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-23 00:48:55 +0100
commitfad4f47cc8b2b8f7e7d062c40c66188cdf783137 (patch)
treee0c978d7b4ffdf1ae8d7d0795c774c6fad87fdf7 /arch/powerpc/kernel/ftrace.c
parentpowerpc32, ftrace: save and restore mcount regs with macro (diff)
downloadlinux-fad4f47cc8b2b8f7e7d062c40c66188cdf783137.tar.xz
linux-fad4f47cc8b2b8f7e7d062c40c66188cdf783137.zip
powerpc32, ftrace: port function graph tracer to ppc32, static only
This patch ports the function graph tracer for PowerPC, but only for static function tracing. Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ftrace.c')
-rw-r--r--arch/powerpc/kernel/ftrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ftrace.c b/arch/powerpc/kernel/ftrace.c
index 5c6dfa97e838..dddd99bbbd8d 100644
--- a/arch/powerpc/kernel/ftrace.c
+++ b/arch/powerpc/kernel/ftrace.c
@@ -603,7 +603,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
"1: " PPC_LL "%[old], 0(%[parent])\n"
"2: " PPC_STL "%[return_hooker], 0(%[parent])\n"
" li %[faulted], 0\n"
- "3:"
+ "3:\n"
".section .fixup, \"ax\"\n"
"4: li %[faulted], 1\n"