[PATCH v3 05/22] mm: Move the fallback definitions of pXXp_get()
David Hildenbrand (Red Hat)
david at kernel.org
Thu Nov 13 11:11:36 PST 2025
On 13.11.25 02:45, Samuel Holland wrote:
> Some platforms need to fix up the values when reading or writing page
> tables. Because of this, the accessors must always be used; it is not
> valid to simply dereference a pXX_t pointer.
>
> Move these definitions up by a few lines, so they will be in scope
> everywhere that currently dereferences a pXX_t pointer.
>
> Signed-off-by: Samuel Holland <samuel.holland at sifive.com>
> ---
Acked-by: David Hildenbrand (Red Hat) <david at kernel.org>
--
Cheers
David
More information about the linux-riscv
mailing list