Merge branch 'next-s3c' of git://aeryn.fluff.org.uk/bjdooks/linux into devel-stable
[linux-block.git] / 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 extern void __gnu_mcount_nc(void);
11 #endif
12
13 #endif
14
15 #endif /* _ASM_ARM_FTRACE */