diff options
author | Lang Cheng <chenglang@huawei.com> | 2019-05-24 15:31:23 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-27 17:28:39 -0300 |
commit | 669cefb654cb69b280e31380f5fc7e3b5755b0cd (patch) | |
tree | 3e887d2f51109f226fe2a0edb33584e57700ba61 /drivers/infiniband/core | |
parent | 780f33962ef27d7f27c6b47a55593c6ffd357922 (diff) | |
download | linux-669cefb654cb69b280e31380f5fc7e3b5755b0cd.tar.gz linux-669cefb654cb69b280e31380f5fc7e3b5755b0cd.tar.bz2 linux-669cefb654cb69b280e31380f5fc7e3b5755b0cd.zip |
RDMA/hns: Remove jiffies operation in disable interrupt context
In some functions, the jiffies operation is unnecessary, and we can
control delay using mdelay and udelay functions only. Especially, in
hns_roce_v1_clear_hem, the function calls spin_lock_irqsave, the context
disables interrupt, so we can not use jiffies and msleep functions.
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions