summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/umem.c
diff options
context:
space:
mode:
authorLang Cheng <chenglang@huawei.com>2019-05-24 15:31:23 +0800
committerJason Gunthorpe <jgg@mellanox.com>2019-05-27 17:28:39 -0300
commit669cefb654cb69b280e31380f5fc7e3b5755b0cd (patch)
tree3e887d2f51109f226fe2a0edb33584e57700ba61 /drivers/infiniband/core/umem.c
parent780f33962ef27d7f27c6b47a55593c6ffd357922 (diff)
downloadlinux-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/umem.c')
0 files changed, 0 insertions, 0 deletions