linux-next: build failure after merge of the akpm-current tree
Subsystems (3)
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 <[email protected]>
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 <[email protected]>
--- mm/vmalloc.c | 1 + 1 file changed, 1 insertion(+)
mm/vmalloc.c +1 -0
@@ -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>
Signature · 5 lines
2.33.0 -- Cheers, Stephen Rothwell