]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/alternatives: Make smp_text_poke_batch_process() subsume smp_text_poke_batch_finish()
authorNikolay Borisov <nik.borisov@suse.com>
Fri, 11 Apr 2025 05:41:05 +0000 (07:41 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Apr 2025 09:01:35 +0000 (11:01 +0200)
commit23a76739d6afe6f98ccdb2517d7985b4335c7a3a
treeaf16c1303129281193cdfb235af6f6805593af61
parent4f9534719e524affb1aa8e0ff0c8b30c1c65e574
x86/alternatives: Make smp_text_poke_batch_process() subsume smp_text_poke_batch_finish()

Simplify the alternatives interface some more by moving the
poke_batch_finish check into poke_batch_process and renaming the latter.
The net effect is one less function name to consider when reading the
code.

Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
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-54-mingo@kernel.org
arch/x86/kernel/alternative.c