percpu: Replace smp_read_barrier_depends() with lockless_dereference()
[sfrench/cifs-2.6.git] / arch / s390 / include / asm / ftrace.h
1 #ifndef _ASM_S390_FTRACE_H
2 #define _ASM_S390_FTRACE_H
3
4 #ifndef __ASSEMBLY__
5
6 extern void _mcount(void);
7 extern char ftrace_graph_caller_end;
8
9 struct dyn_arch_ftrace { };
10
11 #define MCOUNT_ADDR ((long)_mcount)
12
13
14 static 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 */