]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/alternatives: Simplify _apply_alternatives() now altcall is separate
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 20 Apr 2025 00:46:57 +0000 (01:46 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Apr 2025 18:37:57 +0000 (19:37 +0100)
commit6dc1b711ded0e477c501d4017ccb0da83d6d56a1
tree441e880c8da9edc990b01af3bd4bb5f9936eecef
parentca29b7a70d1b0426295c62e93effdd96f10cbde7
x86/alternatives: Simplify _apply_alternatives() now altcall is separate

With altcall handled separately, the special case in _apply_alternatives() is
unused and can be dropped.  The force parameter (used to signify the seal
pass) can be removed too.

In turn, nmi_apply_alternatives() no longer needs to call
_apply_alternatives() on the second pass.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/alternative.c