diff options
author | Dave Jiang | 2021-08-24 14:24:27 -0700 |
---|---|---|
committer | Vinod Koul | 2021-08-29 19:14:20 +0530 |
commit | cf84a4b968f38383534bcd0484385c9254828b2c (patch) | |
tree | 5bc214fb8ed740803560567d91ad86af9d7cd429 /crypto/lrw.c | |
parent | f9f4082dbc56c40093bcb5c1f62c04a916eca9a2 (diff) |
dmaengine: idxd: remove interrupt disable for dev_lock
The spinlock is not being used in hard interrupt context. There is no need
to disable irq when acquiring the lock. The interrupt thread handler also
is not in bottom half context, therefore we can also remove disabling of
the bh. Convert all dev_lock acquisition to plain spin_lock() calls.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162984026772.1939166.11504067782824765879.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions