2008-06-21 11:17:27 -07:00
|
|
|
#ifndef _ASM_X86_FTRACE
|
2008-07-16 14:31:17 -07:00
|
|
|
#define _ASM_X86_FTRACE
|
2008-06-21 11:17:27 -07:00
|
|
|
|
|
|
|
#ifdef CONFIG_FTRACE
|
|
|
|
#define MCOUNT_ADDR ((long)(mcount))
|
|
|
|
#define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
extern void mcount(void);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* CONFIG_FTRACE */
|
|
|
|
|
|
|
|
#endif /* _ASM_X86_FTRACE */
|