mm owner: fix race between swapoff and exit
[linux-2.6/next.git] / arch / sparc / include / asm / ftrace.h
blobd27716cd38c1ac0243a74104f3106850d24397b1
1 #ifndef _ASM_SPARC64_FTRACE
2 #define _ASM_SPARC64_FTRACE
4 #ifdef CONFIG_MCOUNT
5 #define MCOUNT_ADDR ((long)(_mcount))
6 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
8 #ifndef __ASSEMBLY__
9 extern void _mcount(void);
10 #endif
12 #endif
14 #endif /* _ASM_SPARC64_FTRACE */