Merge commit 'kumar/kumar-next' into next
[linux-2.6] / arch / arm / include / asm / ftrace.h
1 #ifndef _ASM_ARM_FTRACE
2 #define _ASM_ARM_FTRACE
3
4 #ifdef CONFIG_FUNCTION_TRACER
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_ARM_FTRACE */