nfs: add missing prefetch.h include
PATCH 1/1 nfs: add missing prefetch.h include
From: Heiko Carstens <[email protected]>
Fix this compile error on s390:
CC [M] fs/nfs/blocklayout/blocklayout.ofs/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".
--- fs/nfs/blocklayout/blocklayout.c | 1 + 1 file changed, 1 insertion(+)
fs/nfs/blocklayout/blocklayout.c +1 -0
@@ -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"
Quoted 4 lines · Heiko Carstens
From: Heiko Carstens <[email protected]>
Fix this compile error on s390:
Quoted 8 lines
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 <[email protected]>Signed-off-by Heiko Carstens <[email protected]>
M68k also needs this, so
fs/nfs/blocklayout/blocklayout.c line 41
Quoted 13 lines
---
fs/nfs/blocklayout/blocklayout.c | 1 +1 file changed, 1 insertion(+)fs/nfs/blocklayout/blocklayout.c +1
-0@@ -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 -- [email protected]
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