Re: [PATCH v2 18/19] mm/arm64: Support large pfn mappings
From: Keith Busch
Date: Wed Mar 19 2025 - 18:22:16 EST
On Mon, Aug 26, 2024 at 04:43:52PM -0400, Peter Xu wrote:
> +#ifdef CONFIG_ARCH_SUPPORTS_PUD_PFNMAP
> +#define pud_special(pte) pte_special(pud_pte(pud))
> +#define pud_mkspecial(pte) pte_pud(pte_mkspecial(pud_pte(pud)))
> +#endif
Sorry for such a late reply, but this looked a bit weird as I'm doing
some backporting. Not that I'm actually interested in this arch, so I
can't readily test this, but I believe the intention was to name the
macro argument "pud", not "pte".