summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2013-02-28 13:11:49 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2013-02-28 13:12:35 +1100
commite711271bda0040fb71c59a22735f8a0669c5d7ff (patch)
tree3d98f841b57b3865e41fe84fea2d380a4841602a
parent8c142b5bfe9ef2d84fd7cd94604db94c1248e0c8 (diff)
md: use of vmalloc et al needs vmalloc.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--drivers/md/dm-cache-policy-cleaner.c1
-rw-r--r--drivers/md/dm-cache-policy-mq.c1
-rw-r--r--drivers/md/dm-cache-target.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm-cache-policy-cleaner.c b/drivers/md/dm-cache-policy-cleaner.c
index 43c270a27683..f43896fa0ff8 100644
--- a/drivers/md/dm-cache-policy-cleaner.c
+++ b/drivers/md/dm-cache-policy-cleaner.c
@@ -12,6 +12,7 @@
#include <linux/hash.h>
#include <linux/module.h>
#include <linux/slab.h>
+#include <linux/vmalloc.h>
/*----------------------------------------------------------------*/
diff --git a/drivers/md/dm-cache-policy-mq.c b/drivers/md/dm-cache-policy-mq.c
index 63ec258c6f47..d62d0c1ad4ad 100644
--- a/drivers/md/dm-cache-policy-mq.c
+++ b/drivers/md/dm-cache-policy-mq.c
@@ -11,6 +11,7 @@
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/slab.h>
+#include <linux/vmalloc.h>
#define DM_MSG_PREFIX "cache-policy-mq"
#define MQ_VERSION "1.0.0"
diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c
index 630f7699dea5..121505067bcf 100644
--- a/drivers/md/dm-cache-target.c
+++ b/drivers/md/dm-cache-target.c
@@ -14,6 +14,7 @@
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/slab.h>
+#include <linux/vmalloc.h>
#define DM_MSG_PREFIX "cache"