blob: 5c68b32ee1c81c28a51392303f767f05cf9ae5f3 [file] [log] [blame]
Abhishek Sagar395a59d2008-06-21 23:47:27 +05301#ifndef _ASM_X86_FTRACE
Sebastian Siewior2b7207a2008-07-16 23:31:17 +02002#define _ASM_X86_FTRACE
Abhishek Sagar395a59d2008-06-21 23:47:27 +05303
4#ifdef CONFIG_FTRACE
5#define MCOUNT_ADDR ((long)(mcount))
6#define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
7
8#ifndef __ASSEMBLY__
9extern void mcount(void);
10#endif
11
12#endif /* CONFIG_FTRACE */
13
14#endif /* _ASM_X86_FTRACE */