diff options
author | Parav Pandit <parav@mellanox.com> | 2018-08-28 15:08:44 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-06 22:45:38 +0300 |
commit | 2d65f49ff961da5e974a48e250edd24b0c6f54d6 (patch) | |
tree | 8fab02c6621b05a4d876ea39ff69ada8de266758 /include/rdma | |
parent | 4512acd0d34cea1bc0d9c69c1a60174016e121d7 (diff) | |
download | linux-2d65f49ff961da5e974a48e250edd24b0c6f54d6.tar.xz |
RDMA/core: Use simpler spin lock irq API from blocking context
add_client_context(), ib_unregister_device() and ib_unregister_client()
are designed to call from blocking context. There is no need to save and
restore last interrupt state when called from such blocking context. Even
though this is not a performance path, using the right spin lock API is
desired for code clarity.
To avoid checkpatch warning while removing flags, sizeof() is used.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions