diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-03-27 17:56:28 (GMT) |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-04-08 20:33:48 (GMT) |
commit | cd953ed0363b28e3dc503b735cc4079e9f5edba7 (patch) | |
tree | 48fe6d2a6613a41c2dc2f18a582f7cf3f3c7428f | |
parent | c19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (diff) | |
download | linux-cd953ed0363b28e3dc503b735cc4079e9f5edba7.tar.xz |
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>
-rw-r--r-- | drivers/md/bcache/bset.c | 1 | ||||
-rw-r--r-- | drivers/md/bcache/btree.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c index 0b33aac..d4f2164 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 767b3fb..8523407 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> |