Message ID | 20220204044929.AB9A2C340E9@smtp.kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/10] Revert "mm/page_isolation: unset migratetype directly for non Buddy page" | expand |
--- a/include/linux/pgtable.h~mm-pgtable-define-pte_index-so-that-preprocessor-could-recognize-it +++ a/include/linux/pgtable.h @@ -62,6 +62,7 @@ static inline unsigned long pte_index(un { return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); } +#define pte_index pte_index #ifndef pmd_index static inline unsigned long pmd_index(unsigned long address)