Merge branch 'akpm'
[linux-2.6/next.git] / arch / s390 / include / asm / ftrace.h
blobb7931faaef6d76add44dd3bcb5c461cec5237a94
1 #ifndef _ASM_S390_FTRACE_H
2 #define _ASM_S390_FTRACE_H
4 #ifndef __ASSEMBLY__
6 extern void _mcount(void);
8 struct dyn_arch_ftrace { };
10 #define MCOUNT_ADDR ((long)_mcount)
12 #ifdef CONFIG_64BIT
13 #define MCOUNT_INSN_SIZE 12
14 #else
15 #define MCOUNT_INSN_SIZE 20
16 #endif
18 static inline unsigned long ftrace_call_adjust(unsigned long addr)
20 return addr;
23 #endif /* __ASSEMBLY__ */
24 #endif /* _ASM_S390_FTRACE_H */