blob: b298f7a631e6cd9620094c72da4c82832afcdb43 [file] [log] [blame]
Steven Rostedtccbfac22008-05-22 14:31:07 -04001#ifndef _ASM_POWERPC_FTRACE
2#define _ASM_POWERPC_FTRACE
3
Steven Rostedt606576c2008-10-06 19:06:12 -04004#ifdef CONFIG_FUNCTION_TRACER
Abhishek Sagar395a59d2008-06-21 23:47:27 +05305#define MCOUNT_ADDR ((long)(_mcount))
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
7
8#ifndef __ASSEMBLY__
Steven Rostedtccbfac22008-05-22 14:31:07 -04009extern void _mcount(void);
Abhishek Sagar395a59d2008-06-21 23:47:27 +053010#endif
Steven Rostedtccbfac22008-05-22 14:31:07 -040011
12#endif
Abhishek Sagar395a59d2008-06-21 23:47:27 +053013
14#endif /* _ASM_POWERPC_FTRACE */