On 30.05.2025 14:02, Alejandro Vallejo wrote:> --- a/xen/include/xen/grant_table.h > +++ b/xen/include/xen/grant_table.h > @@ -27,7 +27,7 @@ > #include <xen/rwlock.h> > #include <public/grant_table.h> > > -#ifdef CONFIG_GRANT_TABLE > +#if __has_include("asm/grant_table.h") > #include <asm/grant_table.h> > #endif
This change looks wrong (or otherwise is lacking justification): With GRANT_TABLE=n the arch header isn't supposed to be included. Jan