mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Two page table check related issues have been fixed here. 1. Open CONFIG_PAGE_TABLE_CHECK in riscv32, we got a compile error[1]: error: implicit declaration of function 'pud_leaf' Add pud_leaf() definition to incluce/asm-generic/pgtable-nopmd.h to fix this issue. 2. Keep consistent with other pud_xxx() helpers, move pud_user() to pgtable-64.h and add pud_user() to pgtable-nopmd.h. [1]https://lore.kernel.org/linux-mm/[email protected]/T/ Link: https://lkml.kernel.org/r/[email protected] Fixes: 856eed79f8d3 ("riscv/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK") Signed-off-by: Tong Tiangen <[email protected]> Reported-by: kernel test robot <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Pasha Tatashin <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Albert Ou <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Guohanjun <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Will Deacon <[email protected]> Cc: Xie XiuQi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>