summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2023-06-23 11:16:40 +0200
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-07-11 03:38:13 +0200
commitb599b06544d87b0c7dcb7d3571c3473ab5abce72 (patch)
treeb7f76ac3af5ee5457d3aa9e22cb28a92f0b18872 /arch
parentarm64: ftrace: Add direct call trampoline samples support (diff)
downloadlinux-b599b06544d87b0c7dcb7d3571c3473ab5abce72.tar.xz
linux-b599b06544d87b0c7dcb7d3571c3473ab5abce72.zip
x86/ftrace: Remove unsued extern declaration ftrace_regs_caller_ret()
This is now unused, so can remove it. Link: https://lore.kernel.org/linux-trace-kernel/20230623091640.21952-1-yuehaibing@huawei.com Cc: <mark.rutland@arm.com> Cc: <tglx@linutronix.de> Cc: <mingo@redhat.com> Cc: <bp@alien8.de> Cc: <dave.hansen@linux.intel.com> Cc: <x86@kernel.org> Cc: <hpa@zytor.com> Cc: <peterz@infradead.org> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/ftrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c
index 01e8f34daf22..12df54ff0e81 100644
--- a/arch/x86/kernel/ftrace.c
+++ b/arch/x86/kernel/ftrace.c
@@ -282,7 +282,6 @@ static inline void tramp_free(void *tramp) { }
/* Defined as markers to the end of the ftrace default trampolines */
extern void ftrace_regs_caller_end(void);
-extern void ftrace_regs_caller_ret(void);
extern void ftrace_caller_end(void);
extern void ftrace_caller_op_ptr(void);
extern void ftrace_regs_caller_op_ptr(void);