On 06.06.2023 20:10, Julien Grall wrote: > On 06/06/2023 18:23, Roger Pau Monne wrote: >> --- a/xen/arch/x86/alternative.c >> +++ b/xen/arch/x86/alternative.c >> @@ -358,11 +358,12 @@ static void init_or_livepatch >> _apply_alternatives(struct alt_instr *start, >> } >> } >> >> -void init_or_livepatch apply_alternatives(struct alt_instr *start, >> - struct alt_instr *end) > > NIT: It sounds like the init_* was a left-over after commit 67d01cdb5518 > ("x86: infrastructure to allow converting certain indirect calls to > direct ones").
Iirc this was intentional, to avoid the need for an #ifdef. Jan