[PATCH] x86: Define only {pud/pmd}_{set/clear}_huge when usefull
Randy Dunlap
rdunlap at infradead.org
Thu May 13 12:56:59 PDT 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 linux-arm-kernel
mailing list