]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/asm-x86/ftrace.h
Merge branch 'linus' into core/rcu
[mirror_ubuntu-artful-kernel.git] / include / asm-x86 / ftrace.h
1 #ifndef _ASM_X86_FTRACE
2 #define _ASM_X86_FTRACE
3
4 #ifdef CONFIG_FTRACE
5 #define MCOUNT_ADDR ((long)(mcount))
6 #define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
7
8 #ifndef __ASSEMBLY__
9 extern void mcount(void);
10 #endif
11
12 #endif /* CONFIG_FTRACE */
13
14 #endif /* _ASM_X86_FTRACE */