1#ifndef _ASM_S390_FTRACE_H
2#define _ASM_S390_FTRACE_H
3
4#ifndef __ASSEMBLY__
5
6extern void _mcount(void);
7extern char ftrace_graph_caller_end;
8
9struct dyn_arch_ftrace { };
10
11#define MCOUNT_ADDR ((long)_mcount)
12
13
14static inline unsigned long ftrace_call_adjust(unsigned long addr)
15{
16	return addr;
17}
18
19#endif /* __ASSEMBLY__ */
20
21#define MCOUNT_INSN_SIZE  18
22
23#define ARCH_SUPPORTS_FTRACE_OPS 1
24
25#endif /* _ASM_S390_FTRACE_H */
26