Hi Geert, On Thu, 27 Feb 2020 18:57:26 +0100 Geert Uytterhoeven wrote: > > pte_index is already a #define on architectures where it exists, so > you can just use that. Except for x86 which has a static inline function and so will require #define pte_index pte_index added in arch/x86/include/asm/pgtable.h. -- Cheers, Stephen Rothwell