[openib-general] [PATCH] IB/verbs: include linux/kref.h explicitly
Michael S. Tsirkin
mst at mellanox.co.il
Tue Dec 19 00:33:25 PST 2006
ib_verbs.h uses struct kref so it should include linux/kref.h directly.
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>
---
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 3c2e105..69a0a11 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>
--
MST
More information about the general
mailing list