On 14.03.2024 23:15, Shawn Anastasio wrote: > --- a/xen/include/xen/efi.h > +++ b/xen/include/xen/efi.h > @@ -31,7 +31,15 @@ union compat_pf_efi_info; > struct xenpf_efi_runtime_call; > struct compat_pf_efi_runtime_call; > > +#if defined(CONFIG_X86) || defined(CONFIG_ARM) > bool efi_enabled(unsigned int feature); > +#else > +static inline bool efi_enabled(unsigned int feature) > +{ > + return false; > +} > +#endif
While fine as is for now, surely Arm32 could benefit from the inline stub, too. Jan