Files
linux/arch/arm64/include/asm
Ryan Roberts cb67ea121c 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: f0f5863a0f ("arm64/mm: Remove PTE_PROT_NONE bit")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405082221.43rfWxz5-lkp@intel.com/
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Link: https://lore.kernel.org/r/20240509122844.563320-1-ryan.roberts@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2024-05-09 15:45:02 +01:00
..
2023-06-05 09:36:39 +02:00
2023-06-05 09:36:39 +02:00
2020-09-07 15:00:52 +01:00
2023-06-05 09:36:39 +02:00
2020-12-02 19:49:11 +00:00
2023-12-11 13:18:06 +00:00
2021-10-21 10:45:22 +01:00
2024-02-20 18:08:37 +00:00
2024-01-12 12:44:18 +00:00
2023-10-16 12:57:45 +01:00
2024-02-24 09:13:33 +00:00
2023-10-18 10:58:59 +01:00
2023-04-05 19:42:43 -07:00
2022-07-22 17:34:57 -05:00
2023-06-05 09:36:39 +02:00
2022-02-19 11:11:09 +01:00
2024-03-07 17:14:53 +00:00
2023-09-25 17:15:28 +01:00
2022-09-16 12:17:03 +01:00