blob: de921326cca8bf9572941a650c1bd2d8b63f128c [file] [log] [blame]
Steven Rostedtccbfac22008-05-22 14:31:07 -04001#ifndef _ASM_POWERPC_FTRACE
2#define _ASM_POWERPC_FTRACE
3
Abhishek Sagar395a59d2008-06-21 23:47:27 +05304#ifdef CONFIG_FTRACE
5#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 */