[PATCH v1] arm64/mm: Fix pud_user_accessible_page() for PGTABLE_LEVELS <= 2

Will Deacon will at kernel.org
Thu May 9 08:01:07 PDT 2024


On Thu, 09 May 2024 13:28:42 +0100, Ryan Roberts wrote:
> 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.
> 
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64/mm: Fix pud_user_accessible_page() for PGTABLE_LEVELS <= 2
      https://git.kernel.org/arm64/c/cb67ea121cdd

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list