Skip to contentSkip to conversation

ftrace/x86: Remove mcount() declaration

PATCH New Jisheng Zhang 1 participant 1 message Aug 26, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ftrace/x86: Remove mcount() declaration

Commit 562e14f72292 ("ftrace/x86: Remove mcount support") removed the support for using mcount, so we could remove the mcount() declaration to clean up.

---
 arch/x86/include/asm/ftrace.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/ftrace.h +0 -1
index 287f1f7b2e52..c38a66661576 100644
@@ -16,7 +16,6 @@
 #define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
 
 #ifndef __ASSEMBLY__
-extern void mcount(void);
 extern atomic_t modifying_ftrace_code;
 extern void __fentry__(void);
 
Signature · 1 line
2.23.0.rc1