Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes...
[sfrench/cifs-2.6.git] / include / asm-powerpc / ftrace.h
1 #ifndef _ASM_POWERPC_FTRACE
2 #define _ASM_POWERPC_FTRACE
3
4 #ifdef CONFIG_FTRACE
5 #define MCOUNT_ADDR             ((long)(_mcount))
6 #define MCOUNT_INSN_SIZE        4 /* sizeof mcount call */
7
8 #ifndef __ASSEMBLY__
9 extern void _mcount(void);
10 #endif
11
12 #endif
13
14 #endif /* _ASM_POWERPC_FTRACE */