On 09/08/2019 11:38, Jan Beulich wrote: > --- a/xen/include/asm-x86/desc.h > +++ b/xen/include/asm-x86/desc.h > @@ -36,6 +36,10 @@ > #define LDT_ENTRY (TSS_ENTRY + 2) > #define PER_CPU_GDT_ENTRY (LDT_ENTRY + 2) > > +#define TSS_SELECTOR (TSS_ENTRY << 3) > +#define LDT_SELECTOR (LDT_ENTRY << 3) > +#define PER_CPU_GDT_SELECTOR (PER_CPU_GDT_ENTRY << 3)
Thinking about it, now would be an excellent time to remove the GDT infix from PER_CPU_GDT_{ENTRY,SELECTOR}. Looking at the resulting diff, there are only 3 extra hunks on top of this patch to perform the rename. Preferably with this done, Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel