[PATCH -next 1/3] bcache: Add missing #include <linux/prefetch.h>

From: Geert Uytterhoeven
Date: Wed Mar 27 2013 - 13:56:38 EST


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@xxxxxxxxxxxxxx>
---
drivers/md/bcache/bset.c | 1 +
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 4dc9cb4..ea06946 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 4005991..1d5f5f4 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>
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/