Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
drivers
/
infiniband
/
core
/
uverbs.h
diff --git
a/kernel/drivers/infiniband/core/uverbs.h
b/kernel/drivers/infiniband/core/uverbs.h
index
b716b08
..
bebf11a
100644
(file)
--- a/
kernel/drivers/infiniband/core/uverbs.h
+++ b/
kernel/drivers/infiniband/core/uverbs.h
@@
-85,7
+85,7
@@
*/
struct ib_uverbs_device {
*/
struct ib_uverbs_device {
-
struct kref ref
;
+
atomic_t refcount
;
int num_comp_vectors;
struct completion comp;
struct device *dev;
int num_comp_vectors;
struct completion comp;
struct device *dev;
@@
-94,6
+94,7
@@
struct ib_uverbs_device {
struct cdev cdev;
struct rb_root xrcd_tree;
struct mutex xrcd_tree_mutex;
struct cdev cdev;
struct rb_root xrcd_tree;
struct mutex xrcd_tree_mutex;
+ struct kobject kobj;
};
struct ib_uverbs_event_file {
};
struct ib_uverbs_event_file {