summaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/bfin_ksyms.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-09 07:25:09 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:15 -0400
commit1c873be744410e26fb91ee9228c90adff6eabe15 (patch)
treeee326bbd1399e4562e4584b3c1b800c2cfdea285 /arch/blackfin/kernel/bfin_ksyms.c
parent6fa68e7a7f0641e8b7f263141d600877cdc2b5f2 (diff)
downloadlwn-1c873be744410e26fb91ee9228c90adff6eabe15.tar.gz
lwn-1c873be744410e26fb91ee9228c90adff6eabe15.zip
Blackfin: initial support for ftrace
Just the basic ftrace support here -- mcount and the ftrace stub. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/bfin_ksyms.c')
-rw-r--r--arch/blackfin/kernel/bfin_ksyms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/bfin_ksyms.c b/arch/blackfin/kernel/bfin_ksyms.c
index 53e893ff708a..aa05e638fb7c 100644
--- a/arch/blackfin/kernel/bfin_ksyms.c
+++ b/arch/blackfin/kernel/bfin_ksyms.c
@@ -103,3 +103,8 @@ EXPORT_SYMBOL(__raw_smp_mark_barrier_asm);
EXPORT_SYMBOL(__raw_smp_check_barrier_asm);
#endif
#endif
+
+#ifdef CONFIG_FUNCTION_TRACER
+extern void _mcount(void);
+EXPORT_SYMBOL(_mcount);
+#endif