[openib-general] [PATCH cosmetic] IB/verbs: include linux/kref directly

Michael S. Tsirkin mst at mellanox.co.il
Wed Jan 3 04:53:28 PST 2007


ib_verbs uses struct kref, so it should include linux/kref.h directly.

Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

---

Index: latest/include/rdma/ib_verbs.h
===================================================================
--- latest.orig/include/rdma/ib_verbs.h	2006-06-18 09:04:34.000000000 +0300
+++ latest/include/rdma/ib_verbs.h	2006-06-18 17:03:10.423216096 +0300
@@ -47,6 +47,7 @@
 #include <asm/atomic.h>
 #include <asm/scatterlist.h>
 #include <asm/uaccess.h>
+#include <linux/kref.h>
 
 union ib_gid {
 	u8	raw[16];

-- 
MST




More information about the general mailing list