Merge branch 'for-3.18-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[linux/fpc-iii.git] / arch / s390 / include / asm / ftrace.h
blob3aef8afec336c822e2f3f44b76209e510ab510e0
1 #ifndef _ASM_S390_FTRACE_H
2 #define _ASM_S390_FTRACE_H
4 #ifndef __ASSEMBLY__
6 extern void _mcount(void);
7 extern char ftrace_graph_caller_end;
9 struct dyn_arch_ftrace { };
11 #define MCOUNT_ADDR ((long)_mcount)
14 static inline unsigned long ftrace_call_adjust(unsigned long addr)
16 return addr;
19 #endif /* __ASSEMBLY__ */
21 #define MCOUNT_INSN_SIZE 18
23 #define ARCH_SUPPORTS_FTRACE_OPS 1
25 #endif /* _ASM_S390_FTRACE_H */