projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/mlx4: Convert rej_tmout radix-tree to XArray
[linux-2.6-block.git]
/
drivers
/
infiniband
/
hw
/
mlx4
/
mlx4_ib.h
diff --git
a/drivers/infiniband/hw/mlx4/mlx4_ib.h
b/drivers/infiniband/hw/mlx4/mlx4_ib.h
index 2f9b1a6d01ebad47bcd11868d2686aea3eb5e950..58df06492d69e469beaca3a75de8bb85da6fc2b4 100644
(file)
--- a/
drivers/infiniband/hw/mlx4/mlx4_ib.h
+++ b/
drivers/infiniband/hw/mlx4/mlx4_ib.h
@@
-522,9
+522,7
@@
struct mlx4_ib_sriov {
spinlock_t id_map_lock;
struct rb_root sl_id_map;
struct list_head cm_list;
- /* Protects the radix-tree */
- struct mutex rej_tmout_lock;
- struct radix_tree_root rej_tmout_root;
+ struct xarray xa_rej_tmout;
};
struct gid_cache_context {