[PATCH] arm64: Define only {pud/pmd}_{set/clear}_huge when usefull

Nathan Chancellor nathan at kernel.org
Sat May 15 13:58:58 AEST 2021


On Fri, May 14, 2021 at 02:42:00PM -0700, Andrew Morton wrote:
> On Fri, 14 May 2021 11:08:53 +0000 (UTC) Christophe Leroy <christophe.leroy at csgroup.eu> wrote:
> 
> > When PUD and/or PMD are folded, those functions are useless
> > and we now have a stub in linux/pgtable.h
> 
> OK, help me out here please.  What patch does this fix?
> 

Naresh's original report is here it seems:

https://lore.kernel.org/r/CA+G9fYv79t0+2W4Rt3wDkBShc4eY3M3utC5BHqUgGDwMYExYMw@mail.gmail.com/

I can reproduce the failure that he reported with
ARCH=arm64 allmodconfig and this patch resolves it for me.

Cheers,
Nathan


More information about the Linuxppc-dev mailing list