diff options
author | 2020-01-20 20:22:32 +0800 | |
---|---|---|
committer | 2020-01-20 19:31:13 -0500 | |
commit | e9dc5e11c97ee981dac9ac5cd6f8f1c2384135ca (patch) | |
tree | 43352e829636ff9da082fc36a7b79c0f7fa7249d /drivers/usb/cdns3/cdns3-imx.c | |
parent | scsi: hisi_sas: use threaded irq to process CQ interrupts (diff) | |
download | wireguard-linux-e9dc5e11c97ee981dac9ac5cd6f8f1c2384135ca.tar.xz wireguard-linux-e9dc5e11c97ee981dac9ac5cd6f8f1c2384135ca.zip |
scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with spin_lock/spin_unlock
After changing tasklet to workqueue or threaded irq, some critical
resources are only used on threads (not in interrupt or bottom half of
interrupt), so replace spin_lock_irqsave/spin_unlock_restore with
spin_lock/spin_unlock to protect those critical resources.
Link: https://lore.kernel.org/r/1579522957-4393-3-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions