From: Jisheng Zhang Date: Mon, 26 Aug 2019 09:13:12 +0000 (+0000) Subject: x86/ftrace: Remove mcount() declaration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=248d327ed7b6d3ebda2ac7b38482a306108bcd3e;p=openwrt%2Fstaging%2Fblogic.git x86/ftrace: Remove mcount() declaration Commit 562e14f72292 ("ftrace/x86: Remove mcount support") removed the support for mcount, but forgot to remove the mcount() declaration. Clean it up. Signed-off-by: Jisheng Zhang Signed-off-by: Thomas Gleixner Link: https://lkml.kernel.org/r20190826170150.10f101ba@xhacker.debian --- diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index 287f1f7b2e52..c38a66661576 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h @@ -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);