Merge commit 'v2.6.27-rc3' into x86/xsave
[linux-2.6/x86.git] / include / asm-x86 / ftrace.h
blobbe0e004ad148123fc5f4b85e2c5a6c2ce8569aea
1 #ifndef ASM_X86__FTRACE_H
2 #define ASM_X86__FTRACE_H
4 #ifdef CONFIG_FTRACE
5 #define MCOUNT_ADDR ((long)(mcount))
6 #define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
8 #ifndef __ASSEMBLY__
9 extern void mcount(void);
10 #endif
12 #endif /* CONFIG_FTRACE */
14 #endif /* ASM_X86__FTRACE_H */