Hi all, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/vmalloc.c: In function '__vmalloc_area_node': mm/vmalloc.c:2983:11: error: implicit declaration of function 'memalloc_nofs_save' [-Werror=implicit-function-declaration] 2983 | flags = memalloc_nofs_save(); | ^~~~~~~~~~~~~~~~~~ mm/vmalloc.c:2985:11: error: implicit declaration of function 'memalloc_noio_save' [-Werror=implicit-function-declaration] 2985 | flags = memalloc_noio_save(); | ^~~~~~~~~~~~~~~~~~ mm/vmalloc.c:2995:3: error: implicit declaration of function 'memalloc_nofs_restore' [-Werror=implicit-function-declaration] 2995 | memalloc_nofs_restore(flags); | ^~~~~~~~~~~~~~~~~~~~~ mm/vmalloc.c:2997:3: error: implicit declaration of function 'memalloc_noio_restore' [-Werror=implicit-function-declaration] 2997 | memalloc_noio_restore(flags); | ^~~~~~~~~~~~~~~~~~~~~ Caused by commit 0256fe4b2ffb ("mm/vmalloc: alloc GFP_NO{FS,IO} for vmalloc") I have applied the following fix patch. From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Fri, 17 Dec 2021 23:15:05 +1100 Subject: [PATCH] mm/vmalloc: alloc GFP_NO{FS,IO} for vmalloc fix Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- mm/vmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 01eabaf5417b..eb6e527a6b77 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -38,6 +38,7 @@ #include <linux/pgtable.h> #include <linux/uaccess.h> #include <linux/hugetlb.h> +#include <linux/sched/mm.h> #include <asm/tlbflush.h> #include <asm/shmparam.h> -- 2.33.0 -- Cheers, Stephen Rothwell
Attachment:
pgpJjZyoUDhlN.pgp
Description: OpenPGP digital signature