Merge branches 'tracing/ftrace', 'tracing/markers', 'tracing/mmiotrace', 'tracing...
[linux-block.git] / arch / arm / include / asm / ftrace.h
1 #ifndef _ASM_ARM_FTRACE
2 #define _ASM_ARM_FTRACE
3
4 #ifndef __ASSEMBLY__
5 static inline void ftrace_nmi_enter(void) { }
6 static inline void ftrace_nmi_exit(void) { }
7 #endif
8
9 #ifdef CONFIG_FUNCTION_TRACER
10 #define MCOUNT_ADDR             ((long)(mcount))
11 #define MCOUNT_INSN_SIZE        4 /* sizeof mcount call */
12
13 #ifndef __ASSEMBLY__
14 extern void mcount(void);
15 #endif
16
17 #endif
18
19 #endif /* _ASM_ARM_FTRACE */