mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
x86/alternatives: Rename 'put_desc()' to 'put_text_poke_array()'
Just like with try_get_text_poke_array(), this name better reflects what the underlying code is doing, there's no 'descriptor' indirection anymore. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Juergen Gross <jgross@suse.com> Cc: "H . Peter Anvin" <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250411054105.2341982-31-mingo@kernel.org
This commit is contained in:
parent
46f3d9d329
commit
3916eec516
|
|
@ -2486,7 +2486,7 @@ struct smp_text_poke_array *try_get_text_poke_array(void)
|
|||
return &text_poke_array;
|
||||
}
|
||||
|
||||
static __always_inline void put_desc(void)
|
||||
static __always_inline void put_text_poke_array(void)
|
||||
{
|
||||
atomic_t *refs = this_cpu_ptr(&text_poke_array_refs);
|
||||
|
||||
|
|
@ -2590,7 +2590,7 @@ noinstr int smp_text_poke_int3_handler(struct pt_regs *regs)
|
|||
ret = 1;
|
||||
|
||||
out_put:
|
||||
put_desc();
|
||||
put_text_poke_array();
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user