[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250327205355.378659-2-mingo@kernel.org>
Date: Thu, 27 Mar 2025 21:53:14 +0100
From: Ingo Molnar <mingo@...nel.org>
To: linux-kernel@...r.kernel.org
Cc: Juergen Gross <jgross@...e.com>,
"H . Peter Anvin" <hpa@...or.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Borislav Petkov <bp@...en8.de>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 01/41] x86/alternatives: Rename 'struct bp_patching_desc' to 'struct int3_patching_desc'
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/alternative.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 5f448142aa99..4e932e95c744 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -2471,17 +2471,17 @@ struct text_poke_loc {
u8 old;
};
-struct bp_patching_desc {
+struct int3_patching_desc {
struct text_poke_loc *vec;
int nr_entries;
};
static DEFINE_PER_CPU(atomic_t, bp_refs);
-static struct bp_patching_desc bp_desc;
+static struct int3_patching_desc bp_desc;
static __always_inline
-struct bp_patching_desc *try_get_desc(void)
+struct int3_patching_desc *try_get_desc(void)
{
atomic_t *refs = this_cpu_ptr(&bp_refs);
@@ -2517,7 +2517,7 @@ static __always_inline int patch_cmp(const void *key, const void *elt)
noinstr int poke_int3_handler(struct pt_regs *regs)
{
- struct bp_patching_desc *desc;
+ struct int3_patching_desc *desc;
struct text_poke_loc *tp;
int ret = 0;
void *ip;
--
2.45.2
Powered by blists - more mailing lists