ftrace, ia64: IA64 static ftrace support
[firefly-linux-kernel-4.4.55.git] / arch / ia64 / include / asm / ftrace.h
1 #ifndef _ASM_IA64_FTRACE_H
2 #define _ASM_IA64_FTRACE_H
3
4 #ifdef CONFIG_FUNCTION_TRACER
5 #define MCOUNT_INSN_SIZE        32 /* sizeof mcount call */
6
7 #ifndef __ASSEMBLY__
8 extern void _mcount(unsigned long pfs, unsigned long r1, unsigned long b0, unsigned long r0);
9 #define mcount _mcount
10
11 #endif
12
13 #endif /* CONFIG_FUNCTION_TRACER */
14
15 #endif /* _ASM_IA64_FTRACE_H */