Skip to contentSkip to conversation

ARM: ftrace: remove mcount(),ftrace_caller_old() and ftrace_call_old()

PATCH Superseded Jisheng Zhang 1 participant 1 message Aug 23, 2019

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: ftrace: remove mcount(),ftrace_caller_old() and ftrace_call_old()

Commit d3c61619568c ("ARM: 8788/1: ftrace: remove old mcount support") removed the old mcount support, but forget to remove these three declarations. This patch removes them.

---

Changes since v1:
- remove mcount() declaration too

 arch/arm/include/asm/ftrace.h | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/include/asm/ftrace.h +0 -3
index 18b0197f2384..f67596427971 100644
@@ -23,9 +23,6 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
 	/* With Thumb-2, the recorded addresses have the lsb set */
 	return addr & ~1;
 }
-
-extern void ftrace_caller_old(void);
-extern void ftrace_call_old(void);
 #endif
 
 #endif
Signature · 7 lines
2.23.0.rc1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel