diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2020-09-16 14:12:39 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2020-09-16 16:53:45 +1000 |
commit | 477d866a52e4bac7cbb1b6687bba325f00caf246 (patch) | |
tree | 3b6ff62a67a7999b6a4e625a15097ef9487d6bc5 | |
parent | 0809088a51ba5c179595e512a7b64a99621973b1 (diff) | |
download | linux-next-477d866a52e4bac7cbb1b6687bba325f00caf246.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 bf7adad6c50d..057320c40cb8 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> |