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

Randy Dunlap rdunlap at infradead.org
Fri May 14 05:56:59 AEST 2021


On 5/13/21 11:27 AM, Christophe Leroy wrote:
> When PUD and/or PMD are folded, those functions are useless
> and we have a stub in linux/pgtable.h
> 
> Reported-by: Randy Dunlap <rdunlap at infradead.org>
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
> ---
>  arch/x86/mm/pgtable.c | 34 +++++++++++++++++++---------------
>  1 file changed, 19 insertions(+), 15 deletions(-)

WorksForMe. Thanks.

Acked-by: Randy Dunlap <rdunlap at infradead.org> # build-tested

-- 
~Randy



More information about the Linuxppc-dev mailing list