diff options
| author | Tong Tiangen <[email protected]> | 2022-05-17 07:45:47 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:48 -0700 |
| commit | 2c8a81dc0cc533c666c64f4139a608b0ae55d96f (patch) | |
| tree | 2d0c4b6c09a7d7b873d828b5eaf498fdf6950a79 /tools/perf/scripts/python | |
| parent | bbe832b9db2e1ad21522f8f0bf02775fff8a0e0e (diff) | |
riscv/mm: fix two page table check related issues
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions