aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/ftrace.h')
-rw-r--r--include/asm-powerpc/ftrace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-powerpc/ftrace.h b/include/asm-powerpc/ftrace.h
index b1bfa704b6e5..de921326cca8 100644
--- a/include/asm-powerpc/ftrace.h
+++ b/include/asm-powerpc/ftrace.h
@@ -1,6 +1,14 @@
1#ifndef _ASM_POWERPC_FTRACE 1#ifndef _ASM_POWERPC_FTRACE
2#define _ASM_POWERPC_FTRACE 2#define _ASM_POWERPC_FTRACE
3 3
4#ifdef CONFIG_FTRACE
5#define MCOUNT_ADDR ((long)(_mcount))
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
7
8#ifndef __ASSEMBLY__
4extern void _mcount(void); 9extern void _mcount(void);
10#endif
5 11
6#endif 12#endif
13
14#endif /* _ASM_POWERPC_FTRACE */