[PATCH] arm64/mm: Add a fallback stub for pgd_page_paddr()

Will Deacon will at kernel.org
Tue Nov 4 06:31:34 PST 2025


On Tue, Oct 14, 2025 at 12:06:33PM +0100, Anshuman Khandual wrote:
> Add a fallback stub for pgd_page_paddr() when (PGTBALE_LEVELS <= 4) which

typo

> helps in intercepting any unintended usage and which is also in line with
> existing stubs for similar [pud|p4d]_page_paddr() helpers.

Are you saying the kernel compiles in this case without your patch? Which
definition of pgd_page_paddr() does it end up using?

Will



More information about the linux-arm-kernel mailing list