diff options
author | Ryan Roberts <[email protected]> | 2024-05-09 13:28:42 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-05-09 15:45:02 +0100 |
commit | cb67ea121cdd3e4ecea306fbb0058d031d5ad950 (patch) | |
tree | 6ae5af554b5c82d0e66fb7b81760a941bad6005d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5b32510af77bdb275b022dc0d6d5b9c61751065b (diff) |
arm64/mm: Fix pud_user_accessible_page() for PGTABLE_LEVELS <= 2
The recent change to use pud_valid() as part of the implementation of
pud_user_accessible_page() fails to build when PGTABLE_LEVELS <= 2
because pud_valid() is not defined in that case.
Fix this by defining pud_valid() to false for this case. This means that
pud_user_accessible_page() will correctly always return false for this
config.
Fixes: f0f5863a0fb0 ("arm64/mm: Remove PTE_PROT_NONE bit")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Ryan Roberts <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions