hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/arch/parisc/include/asm/ftrace.h
....@@ -5,12 +5,24 @@
55 #ifndef __ASSEMBLY__
66 extern void mcount(void);
77
8
-#define MCOUNT_INSN_SIZE 4
9
-
8
+#define MCOUNT_ADDR ((unsigned long)mcount)
9
+#define MCOUNT_INSN_SIZE 4
10
+#define CC_USING_NOP_MCOUNT
11
+#define ARCH_SUPPORTS_FTRACE_OPS 1
1012 extern unsigned long sys_call_table[];
1113
1214 extern unsigned long return_address(unsigned int);
1315
16
+#ifdef CONFIG_DYNAMIC_FTRACE
17
+extern void ftrace_caller(void);
18
+
19
+struct dyn_arch_ftrace {
20
+};
21
+
22
+unsigned long ftrace_call_adjust(unsigned long addr);
23
+
24
+#endif
25
+
1426 #define ftrace_return_address(n) return_address(n)
1527
1628 #endif /* __ASSEMBLY__ */