Messages in this thread Patch in this message | | | Date | Wed, 28 Sep 2011 20:01:14 +1000 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the final tree (akpm tree related) |
| |
Hi all,
After merging the final tree, today's linux-next build (sparc32 defconfig) failed like this:
fs/direct-io.c: In function '__blockdev_direct_IO': fs/direct-io.c:1327:2: error: implicit declaration of function 'prefetch'
Caused by commit 30ddb4d48213 ("dio: optimize cache misses in the submission path").
I have added this patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Wed, 28 Sep 2011 19:58:28 +1000 Subject: [PATCH] dio: using prefetch requires including prefetch.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- fs/direct-io.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/direct-io.c b/fs/direct-io.c index a05ca05..8d22849 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -36,6 +36,7 @@ #include <linux/rwsem.h> #include <linux/uio.h> #include <linux/atomic.h> +#include <linux/prefetch.h> /* * How many user pages to map in one call to get_user_pages(). This determines -- 1.7.6.3 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
| |