summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-03-27 18:56:28 +0100
committerKent Overstreet <koverstreet@google.com>2013-04-08 13:33:48 -0700
commitcd953ed0363b28e3dc503b735cc4079e9f5edba7 (patch)
tree48fe6d2a6613a41c2dc2f18a582f7cf3f3c7428f /drivers/md/bcache
parentc19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (diff)
downloadblackbird-op-linux-cd953ed0363b28e3dc503b735cc4079e9f5edba7.tar.gz
blackbird-op-linux-cd953ed0363b28e3dc503b735cc4079e9f5edba7.zip
bcache: Add missing #include <linux/prefetch.h>
m68k/allmodconfig: drivers/md/bcache/bset.c: In function ‘bset_search_tree’: drivers/md/bcache/bset.c:727: error: implicit declaration of function ‘prefetch’ drivers/md/bcache/btree.c: In function ‘bch_btree_node_get’: drivers/md/bcache/btree.c:933: error: implicit declaration of function ‘prefetch’ Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache')
-rw-r--r--drivers/md/bcache/bset.c1
-rw-r--r--drivers/md/bcache/btree.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c
index 0b33aac1f146..d4f2164ca551 100644
--- a/drivers/md/bcache/bset.c
+++ b/drivers/md/bcache/bset.c
@@ -10,6 +10,7 @@
#include "debug.h"
#include <linux/random.h>
+#include <linux/prefetch.h>
/* Keylists */
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index 767b3fbc2fbe..852340793777 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -28,6 +28,7 @@
#include <linux/slab.h>
#include <linux/bitops.h>
#include <linux/hash.h>
+#include <linux/prefetch.h>
#include <linux/random.h>
#include <linux/rcupdate.h>
#include <trace/events/bcache.h>
OpenPOWER on IntegriCloud