projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d0cfc
)
IB: Include <linux/kref.h> explicitly in <rdma/ib_verbs.h>
author
Michael S. Tsirkin
<mst@mellanox.co.il>
Sun, 4 Feb 2007 22:11:55 +0000
(14:11 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Sun, 4 Feb 2007 22:11:55 +0000
(14:11 -0800)
<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>
include/rdma/ib_verbs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/rdma/ib_verbs.h
b/include/rdma/ib_verbs.h
index 0bfa3328d686ccdac7cd383e8abac4063a90e5f6..73aafd7bb503778a063bf812fb8d7e7526b7cdda 100644
(file)
--- 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>