hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm/include/asm/ftrace.h
....@@ -11,14 +11,10 @@
1111 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
1212
1313 #ifndef __ASSEMBLY__
14
-extern void mcount(void);
1514 extern void __gnu_mcount_nc(void);
1615
1716 #ifdef CONFIG_DYNAMIC_FTRACE
1817 struct dyn_arch_ftrace {
19
-#ifdef CONFIG_OLD_MCOUNT
20
- bool old_mcount;
21
-#endif
2218 #ifdef CONFIG_ARM_MODULE_PLTS
2319 struct module *mod;
2420 #endif
....@@ -29,9 +25,6 @@
2925 /* With Thumb-2, the recorded addresses have the lsb set */
3026 return addr & ~1;
3127 }
32
-
33
-extern void ftrace_caller_old(void);
34
-extern void ftrace_call_old(void);
3528 #endif
3629
3730 #endif