f2fs: add missing #include <linux/prefetch.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 19 Dec 2012 21:19:30 +0000 (22:19 +0100)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 28 Dec 2012 02:22:43 +0000 (11:22 +0900)
m68k allmodconfig:

fs/f2fs/data.c: In function ‘read_end_io’:
fs/f2fs/data.c:311: error: implicit declaration of function ‘prefetchw’

fs/f2fs/segment.c: In function ‘f2fs_end_io_write’:
fs/f2fs/segment.c:628: error: implicit declaration of function ‘prefetchw’

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c
fs/f2fs/segment.c

index 655aeabc1dd41f8b18f77ee14092601c8ad89cbb..3aa5ce7cab83d30012e86942bfed4317ac0b2b99 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/backing-dev.h>
 #include <linux/blkdev.h>
 #include <linux/bio.h>
+#include <linux/prefetch.h>
 
 #include "f2fs.h"
 #include "node.h"
index 8bc1b6fdcf71ad143e8d3a0b6d50461ee2d004d2..ca7b5ffb09d5795f4c88eeb8387ae94f3c1b326c 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/f2fs_fs.h>
 #include <linux/bio.h>
 #include <linux/blkdev.h>
+#include <linux/prefetch.h>
 #include <linux/vmalloc.h>
 
 #include "f2fs.h"