diff options
author | Shay Drory <shayd@mellanox.com> | 2020-06-21 13:47:37 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-06-24 16:43:45 -0300 |
commit | e41c425349bc9fa5399717c21f77bb7cd911084f (patch) | |
tree | 3f932a59b600635a550705974c72b056edc187a4 /include/kvm | |
parent | b9af0e2d5aeab77bef33bd3df073c3c96b69ec79 (diff) | |
download | linux-e41c425349bc9fa5399717c21f77bb7cd911084f.tar.bz2 |
IB/mad: Change atomics to refcount API
The refcount API provides better safety than atomics API. Therefore,
change atomic functions to refcount functions.
Link: https://lore.kernel.org/r/20200621104738.54850-4-leon@kernel.org
Signed-off-by: Shay Drory <shayd@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions