aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-03-27 13:56:28 -0400
committerKent Overstreet <koverstreet@google.com>2013-04-08 16:33:48 -0400
commitcd953ed0363b28e3dc503b735cc4079e9f5edba7 (patch)
tree48fe6d2a6613a41c2dc2f18a582f7cf3f3c7428f /drivers/md
parentc19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (diff)
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')
-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 @@
10#include "debug.h" 10#include "debug.h"
11 11
12#include <linux/random.h> 12#include <linux/random.h>
13#include <linux/prefetch.h>
13 14
14/* Keylists */ 15/* Keylists */
15 16
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 @@
28#include <linux/slab.h> 28#include <linux/slab.h>
29#include <linux/bitops.h> 29#include <linux/bitops.h>
30#include <linux/hash.h> 30#include <linux/hash.h>
31#include <linux/prefetch.h>
31#include <linux/random.h> 32#include <linux/random.h>
32#include <linux/rcupdate.h> 33#include <linux/rcupdate.h>
33#include <trace/events/bcache.h> 34#include <trace/events/bcache.h>