summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2007-02-04 14:11:55 -0800
committerRoland Dreier <rolandd@cisco.com>2007-02-04 14:11:55 -0800
commit459d6e2a541a5226825db998e627e0aa046aa257 (patch)
treed8b47ba3d3de7e009e0b068a2660f711d9385f6c /include/rdma
parent62d0cfcb27cf755cebdc93ca95dabc83608007cd (diff)
downloadlwn-459d6e2a541a5226825db998e627e0aa046aa257.tar.gz
lwn-459d6e2a541a5226825db998e627e0aa046aa257.zip
IB: Include <linux/kref.h> explicitly in <rdma/ib_verbs.h>
<rdma/ib_verbs.h> uses struct kref, so it should include <linux/kref.h> explicitly to avoid hidden include dependencies. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 0bfa3328d686..73aafd7bb503 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -45,6 +45,7 @@
#include <linux/device.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
+#include <linux/kref.h>
#include <asm/atomic.h>
#include <asm/scatterlist.h>