[PATCH v2 1/3] arch/x86: Drop own definition of pgd,p4d_leaf
Peter Xu
peterx at redhat.com
Wed Jul 10 07:43:41 PDT 2024
On Wed, Jul 10, 2024 at 09:51:20AM +0200, Christophe Leroy wrote:
> From: Oscar Salvador <osalvador at suse.de>
>
> We provide generic definitions of pXd_leaf in pgtable.h when the arch
> do not define their own, where the generic pXd_leaf always return false.
>
> Although x86 defines {pgd,p4d}_leaf, they end up being a no-op, so drop them
> and make them fallback to the generic one.
>
> Signed-off-by: Oscar Salvador <osalvador at suse.de>
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
Reviewed-by: Peter Xu <peterx at redhat.com>
--
Peter Xu
More information about the linux-riscv
mailing list