]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/sparc/include/asm/ftrace.h
Merge commit '63cc8c75156462d4b42cbdd76c293b7eee7ddbfe':
[karo-tx-linux.git] / arch / sparc / include / asm / ftrace.h
1 #ifndef _ASM_SPARC64_FTRACE
2 #define _ASM_SPARC64_FTRACE
3
4 #ifdef CONFIG_MCOUNT
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_SPARC64_FTRACE */