summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-12-19 22:19:30 +0100
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2012-12-28 11:22:43 +0900
commit690e4a3ead5f88fc95f7650816d1376aa2e79db5 (patch)
tree2d52d94ff4e52191391e313e0f88af49013a3a53 /fs
parent1efef832020ef392deb2cd3d74e0c316711245be (diff)
downloadlinux-stable-690e4a3ead5f88fc95f7650816d1376aa2e79db5.tar.gz
linux-stable-690e4a3ead5f88fc95f7650816d1376aa2e79db5.tar.bz2
linux-stable-690e4a3ead5f88fc95f7650816d1376aa2e79db5.zip
f2fs: add missing #include <linux/prefetch.h>
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/data.c1
-rw-r--r--fs/f2fs/segment.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 655aeabc1dd4..3aa5ce7cab83 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -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"
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 8bc1b6fdcf71..ca7b5ffb09d5 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -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"