[PATCH v12 08/11] powerpc: mm: Add pud_pfn() stub

Pasha Tatashin pasha.tatashin at soleen.com
Wed Apr 3 16:55:45 PDT 2024


On Tue, Apr 2, 2024 at 1:11 AM Rohan McLure <rmclure at linux.ibm.com> wrote:
>
> The page table check feature requires that pud_pfn() be defined
> on each consuming architecture. Since only 64-bit, Book3S platforms
> allow for hugepages at this upper level, and since the calling code is
> gated by a call to pud_user_accessible_page(), which will return zero,
> include this stub as a BUILD_BUG().
>
> Signed-off-by: Rohan McLure <rmclure at linux.ibm.com>

Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>



More information about the linux-riscv mailing list