]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/alternatives: Remove the tp_vec indirection
authorIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 05:40:40 +0000 (07:40 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 09:01:34 +0000 (11:01 +0200)
commit0494b16b9caed22ff78adb84cedb7460532eb3f0
treef12785e95d2fd65d7bcc0f4b4b9e67cbcbd36b04
parent6e7dc03aeeb52fb0147c03377e4f44fea780ef53
x86/alternatives: Remove the tp_vec indirection

At this point we are always working out of an uptodate
text_poke_array, there's no need for smp_text_poke_int3_handler()
to read via the int3_vec indirection - remove it.

This simplifies the code:

   1 file changed, 5 insertions(+), 15 deletions(-)

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-29-mingo@kernel.org
arch/x86/kernel/alternative.c