Skip to content

Commit

Permalink
bcache: Add missing #include <linux/prefetch.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Kent Overstreet committed Apr 8, 2013
1 parent c19ed23 commit cd953ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/md/bcache/bset.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "debug.h"

#include <linux/random.h>
#include <linux/prefetch.h>

/* Keylists */

Expand Down
1 change: 1 addition & 0 deletions drivers/md/bcache/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit cd953ed

Please sign in to comment.