diff options
author | Parav Pandit <parav@mellanox.com> | 2018-08-28 14:08:44 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-06 21:45:38 +0200 |
commit | 2d65f49ff961da5e974a48e250edd24b0c6f54d6 (patch) | |
tree | 8fab02c6621b05a4d876ea39ff69ada8de266758 /include/rdma | |
parent | RDMA/core: Remove context entries from list while unregistering device (diff) | |
download | linux-2d65f49ff961da5e974a48e250edd24b0c6f54d6.tar.xz linux-2d65f49ff961da5e974a48e250edd24b0c6f54d6.zip |
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