[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200908204547.285646b4@canb.auug.org.au>
Date: Tue, 8 Sep 2020 20:45:47 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Minchan Kim <minchan@...nel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: build failure after merge of the akpm tree
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 <sfr@...b.auug.org.au>
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 <sfr@...b.auug.org.au>
---
mm/madvise.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/madvise.c b/mm/madvise.c
index 3c0d23872330..c5acc2b1b1d9 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -7,6 +7,7 @@
*/
#include <linux/mman.h>
+#include <linux/compat.h>
#include <linux/pagemap.h>
#include <linux/syscalls.h>
#include <linux/mempolicy.h>
--
2.28.0
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists