On 12/07/2021 21:32, Daniel P. Smith wrote: > To reduce retpolines convert all the pointer function calls of the > xsm_ops hooks over to the alternative_call infrastructure. > > Signed-off-by: Daniel P. Smith <dpsm...@apertussolutions.com> > --- > xen/include/xsm/xsm.h | 195 +++++++++++++++++++++--------------------- > 1 file changed, 99 insertions(+), 96 deletions(-) > > diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h > index a8805f514b..a39b5dc42f 100644 > --- a/xen/include/xsm/xsm.h > +++ b/xen/include/xsm/xsm.h > @@ -15,6 +15,9 @@ > #ifndef __XSM_H__ > #define __XSM_H__ > > +#ifdef CONFIG_XSM > +#include <xen/alternative-call.h> > +#endif
This guard needs dropping to fix the build on ARM. Otherwise, Acked-by: Andrew Cooper <andrew.coop...@citrix.com>