Re: [PATCH PTI v3 10/10] x86/pti: Put the LDT in its own PGD if PTI is on

From: Thomas Gleixner
Date: Fri Dec 15 2017 - 17:55:05 EST


On Tue, 12 Dec 2017, Andy Lutomirski wrote:
> +/* This is a multiple of PAGE_SIZE. */
> +#define LDT_SLOT_STRIDE (LDT_ENTRIES * LDT_ENTRY_SIZE)
> +
> +static void *ldt_slot_va(int slot)

How is that supposed to compile w/o warnings? Want's to be inline ....

Thanks,

tglx