linux-next: build failure after merge of the akpm tree
Subsystems (3)
Hi all,
After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
mm/madvise.c: In function 'madv_import_iovec':mm/madvise.c:1233:6: error: implicit declaration of function 'in_compat_syscall' [-Werror=implicit-function-declaration]
1233 | if (in_compat_syscall())
| ^~~~~~~~~~~~~~~~~
Caused by commit
6d0ecd769ce2 ("mm/madvise: introduce process_madvise() syscall: an external memory hinting API")
I added the following fix up patch.
From: Stephen Rothwell <[email protected]>
Date: Tue, 8 Sep 2020 20:40:44 +1000
Subject: [PATCH] fix for "mm/madvise: introduce process_madvise() syscall: an
external memory hinting API"
Signed-off-by Stephen Rothwell <[email protected]>
--- mm/madvise.c | 1 + 1 file changed, 1 insertion(+)
mm/madvise.c +1 -0
@@ -7,6 +7,7 @@*/ #include <linux/mman.h> +#include <linux/compat.h> #include <linux/pagemap.h> #include <linux/syscalls.h> #include <linux/mempolicy.h>
Signature · 5 lines
2.28.0 -- Cheers, Stephen Rothwell