Re: [PATCH] nfs: add missing prefetch.h include
From: Geert Uytterhoeven
Date: Wed Aug 03 2011 - 03:17:17 EST
On Tue, Aug 2, 2011 at 09:57, Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:
> From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
M68k also needs this, so
Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> Â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@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/