Message ID | 20220127023204.YhI-sD-TA%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | + mm-pgtable-define-pte_index-so-that-preprocessor-could-recognize-it.patch added to -mm tree | 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)