Messages in this thread | | | Date | Wed, 3 Aug 2011 09:17:04 +0200 | Subject | Re: [PATCH] nfs: add missing prefetch.h include | From | Geert Uytterhoeven <> |
| |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |