diff options
| author | Tong Tiangen <[email protected]> | 2022-05-17 07:45:48 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:48 -0700 |
| commit | ed928a3402d8a24a70c242c63109c069a7b1f3ab (patch) | |
| tree | 2fbbec1249799a33f8c26e59361eb3ea5096ad67 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2c8a81dc0cc533c666c64f4139a608b0ae55d96f (diff) | |
arm64/mm: fix page table check compile error for CONFIG_PGTABLE_LEVELS=2
If CONFIG_PGTABLE_LEVELS=2 and CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y,
then we trigger a compile error:
error: implicit declaration of function 'pte_user_accessible_page'
Move the definition of page table check helper out of branch
CONFIG_PGTABLE_LEVELS > 2
Link: https://lkml.kernel.org/r/[email protected]
Fixes: daf214c14dbe ("arm64/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK")
Signed-off-by: Tong Tiangen <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Cc: Albert Ou <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Guohanjun <[email protected]>
Cc: Xie XiuQi <[email protected]>
Cc: kernel test robot <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions