diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-05-22 14:31:07 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-26 16:51:57 -0400 |
commit | ccbfac2923c9febaeaf07a50054027a92b502718 (patch) | |
tree | 0ed9e86b823ef0b55023a5428b3799ecfe79ea78 /arch/powerpc/kernel/ppc_ksyms.c | |
parent | 41bc8144d02028133bcd1d545023c6f49e8b2411 (diff) |
ftrace: powerpc clean ups
This patch cleans up the ftrace code in PowerPC based on the comments from
Michael Ellerman.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: proski@gnu.org
Cc: a.p.zijlstra@chello.nl
Cc: Pekka Paalanen <pq@iki.fi>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: linuxppc-dev@ozlabs.org
Cc: Soeren Sandmann Pedersen <sandmann@redhat.com>
Cc: paulus@samba.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index cf6b5a7d8b3f..4300db52662a 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <asm/div64.h> | 43 | #include <asm/div64.h> |
44 | #include <asm/signal.h> | 44 | #include <asm/signal.h> |
45 | #include <asm/dcr.h> | 45 | #include <asm/dcr.h> |
46 | #include <asm/ftrace.h> | ||
46 | 47 | ||
47 | #ifdef CONFIG_PPC32 | 48 | #ifdef CONFIG_PPC32 |
48 | extern void transfer_to_handler(void); | 49 | extern void transfer_to_handler(void); |
@@ -68,6 +69,10 @@ EXPORT_SYMBOL(single_step_exception); | |||
68 | EXPORT_SYMBOL(sys_sigreturn); | 69 | EXPORT_SYMBOL(sys_sigreturn); |
69 | #endif | 70 | #endif |
70 | 71 | ||
72 | #ifdef CONFIG_FTRACE | ||
73 | EXPORT_SYMBOL(_mcount); | ||
74 | #endif | ||
75 | |||
71 | EXPORT_SYMBOL(strcpy); | 76 | EXPORT_SYMBOL(strcpy); |
72 | EXPORT_SYMBOL(strncpy); | 77 | EXPORT_SYMBOL(strncpy); |
73 | EXPORT_SYMBOL(strcat); | 78 | EXPORT_SYMBOL(strcat); |