[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220927160246.762009135@goodmis.org>
Date: Tue, 27 Sep 2022 12:02:27 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Daniel Bristot de Oliveira <bristot@...nel.org>,
<mingo@...hat.com>, <tglx@...utronix.de>, <bp@...en8.de>,
<dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
<mhiramat@...nel.org>, <peterz@...radead.org>, <ast@...nel.org>,
Gaosheng Cui <cuigaosheng1@...wei.com>
Subject: [for-next][PATCH 11/20] x86/kprobes: Remove unused arch_kprobe_override_function()
declaration
From: Gaosheng Cui <cuigaosheng1@...wei.com>
All uses of arch_kprobe_override_function() have been removed by
commit 540adea3809f ("error-injection: Separate error-injection
from kprobe"), so remove the declaration, too.
Link: https://lkml.kernel.org/r/20220914110437.1436353-3-cuigaosheng1@huawei.com
Cc: <mingo@...hat.com>
Cc: <tglx@...utronix.de>
Cc: <bp@...en8.de>
Cc: <dave.hansen@...ux.intel.com>
Cc: <x86@...nel.org>
Cc: <hpa@...or.com>
Cc: <mhiramat@...nel.org>
Cc: <peterz@...radead.org>
Cc: <ast@...nel.org>
Signed-off-by: Gaosheng Cui <cuigaosheng1@...wei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>
---
arch/x86/include/asm/kprobes.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/include/asm/kprobes.h b/arch/x86/include/asm/kprobes.h
index 71ea2eab43d5..a2e9317aad49 100644
--- a/arch/x86/include/asm/kprobes.h
+++ b/arch/x86/include/asm/kprobes.h
@@ -50,8 +50,6 @@ extern const int kretprobe_blacklist_size;
void arch_remove_kprobe(struct kprobe *p);
-extern void arch_kprobe_override_function(struct pt_regs *regs);
-
/* Architecture specific copy of original instruction*/
struct arch_specific_insn {
/* copy of the original instruction */
--
2.35.1
Powered by blists - more mailing lists