summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/btree.c
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/btree.c
parentc19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (diff)
downloadtalos-obmc-linux-cd953ed0363b28e3dc503b735cc4079e9f5edba7.tar.gz
talos-obmc-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/btree.c')
-rw-r--r--drivers/md/bcache/btree.c1
1 files changed, 1 insertions, 0 deletions
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