* [PATCH] nfs: add missing prefetch.h include
@ 2011-08-02 7:57 Heiko Carstens
2011-08-03 7:17 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2011-08-02 7:57 UTC (permalink / raw)
To: Trond Myklebust; +Cc: Fred Isaman, linux-kernel
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Fix this compile error on s390:
CC [M] fs/nfs/blocklayout/blocklayout.o
fs/nfs/blocklayout/blocklayout.c: In function 'bl_end_io_read':
fs/nfs/blocklayout/blocklayout.c:201:4: error: implicit declaration of function 'prefetchw'
Introduced with 9549ec01 "pnfsblock: bl_read_pagelist".
Cc: Fred Isaman <iisaman@citi.umich.edu>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
fs/nfs/blocklayout/blocklayout.c | 1 +
1 file changed, 1 insertion(+)
--- a/fs/nfs/blocklayout/blocklayout.c
+++ b/fs/nfs/blocklayout/blocklayout.c
@@ -36,6 +36,7 @@
#include <linux/namei.h>
#include <linux/bio.h> /* struct bio */
#include <linux/buffer_head.h> /* various write calls */
+#include <linux/prefetch.h>
#include "blocklayout.h"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] nfs: add missing prefetch.h include
2011-08-02 7:57 [PATCH] nfs: add missing prefetch.h include Heiko Carstens
@ 2011-08-03 7:17 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2011-08-03 7:17 UTC (permalink / raw)
To: Heiko Carstens; +Cc: Trond Myklebust, Fred Isaman, linux-kernel
On Tue, Aug 2, 2011 at 09:57, Heiko Carstens <heiko.carstens@de.ibm.com> wrote:
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> Fix this compile error on s390:
>
> CC [M] fs/nfs/blocklayout/blocklayout.o
> fs/nfs/blocklayout/blocklayout.c: In function 'bl_end_io_read':
> fs/nfs/blocklayout/blocklayout.c:201:4: error: implicit declaration of function 'prefetchw'
>
> Introduced with 9549ec01 "pnfsblock: bl_read_pagelist".
>
> Cc: Fred Isaman <iisaman@citi.umich.edu>
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
M68k also needs this, so
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> fs/nfs/blocklayout/blocklayout.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/fs/nfs/blocklayout/blocklayout.c
> +++ b/fs/nfs/blocklayout/blocklayout.c
> @@ -36,6 +36,7 @@
> #include <linux/namei.h>
> #include <linux/bio.h> /* struct bio */
> #include <linux/buffer_head.h> /* various write calls */
> +#include <linux/prefetch.h>
>
> #include "blocklayout.h"
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-03 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 7:57 [PATCH] nfs: add missing prefetch.h include Heiko Carstens
2011-08-03 7:17 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®