drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / arch / csky / include / asm / ftrace.h
blob00f9f7647e3f3c7789766f9d5bca76597082383c
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_CSKY_FTRACE_H
4 #define __ASM_CSKY_FTRACE_H
6 #define MCOUNT_INSN_SIZE 14
8 #define HAVE_FUNCTION_GRAPH_FP_TEST
10 #define ARCH_SUPPORTS_FTRACE_OPS 1
12 #define MCOUNT_ADDR ((unsigned long)_mcount)
14 #ifndef __ASSEMBLY__
16 extern void _mcount(unsigned long);
18 extern void ftrace_graph_call(void);
20 static inline unsigned long ftrace_call_adjust(unsigned long addr)
22 return addr;
25 struct dyn_arch_ftrace {
28 void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr,
29 unsigned long frame_pointer);
31 #endif /* !__ASSEMBLY__ */
32 #endif /* __ASM_CSKY_FTRACE_H */