summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-08-28 15:08:44 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-06 13:45:38 -0600
commit2d65f49ff961da5e974a48e250edd24b0c6f54d6 (patch)
tree8fab02c6621b05a4d876ea39ff69ada8de266758 /include/rdma
parent4512acd0d34cea1bc0d9c69c1a60174016e121d7 (diff)
downloadlinux-stable-2d65f49ff961da5e974a48e250edd24b0c6f54d6.tar.gz
linux-stable-2d65f49ff961da5e974a48e250edd24b0c6f54d6.tar.bz2
linux-stable-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