mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / arch / s390 / include / asm / ftrace.h
blobbf246dae1367333c109f7f28a60789c2f97deb84
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)
13 static inline unsigned long ftrace_call_adjust(unsigned long addr)
15 return addr;
18 #endif /* __ASSEMBLY__ */
20 #ifdef CONFIG_64BIT
21 #define MCOUNT_INSN_SIZE 12
22 #else
23 #define MCOUNT_INSN_SIZE 22
24 #endif
26 #endif /* _ASM_S390_FTRACE_H */