diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2020-09-05 14:10:19 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2020-09-10 16:51:54 +1000 |
commit | 5bb49995f831af8b8f3eaa6775192a430ce5f91e (patch) | |
tree | 229a167645ae4514302f2e29c038eee08ce17925 | |
parent | 1c54d15bf8bfc3d0b3b51bbc7a83e7c1e77697b0 (diff) | |
download | linux-next-5bb49995f831af8b8f3eaa6775192a430ce5f91e.tar.gz |
mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix-fix
fix i386 build
mm/madvise.c: In function process_madvise_vec:
mm/madvise.c:1168:15: error: storage size of iovec isnt known
struct iovec iovec;
Cc: Florian Weimer <fw@deneb.enyo.de>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | mm/madvise.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/madvise.c b/mm/madvise.c index 26e0ba5368e4..3c0d23872330 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -18,6 +18,7 @@ #include <linux/fadvise.h> #include <linux/sched.h> #include <linux/sched/mm.h> +#include <linux/uio.h> #include <linux/ksm.h> #include <linux/fs.h> #include <linux/file.h> |