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

Pasha Tatashin pasha.tatashin at soleen.com
Thu Apr 4 10:55:45 AEDT 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 Linuxppc-dev mailing list