All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ftrace/x86: Remove mcount() declaration
@ 2019-08-26  9:13 Jisheng Zhang
  0 siblings, 0 replies; only message in thread
From: Jisheng Zhang @ 2019-08-26  9:13 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar, Thomas Gleixner, Borislav Petkov,
	H. Peter Anvin, x86
  Cc: linux-kernel

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

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
---
 arch/x86/include/asm/ftrace.h | 1 -
 1 file changed, 1 deletion(-)

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);
 
-- 
2.23.0.rc1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-26  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-26  9:13 [PATCH] ftrace/x86: Remove mcount() declaration Jisheng Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.