blob: be0e004ad148123fc5f4b85e2c5a6c2ce8569aea [file] [log] [blame]
Vegard Nossum77ef50a2008-06-18 17:08:48 +02001#ifndef ASM_X86__FTRACE_H
2#define ASM_X86__FTRACE_H
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
Vegard Nossum77ef50a2008-06-18 17:08:48 +020014#endif /* ASM_X86__FTRACE_H */