diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2020-01-20 20:22:32 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-01-20 19:31:13 -0500 |
commit | e9dc5e11c97ee981dac9ac5cd6f8f1c2384135ca (patch) | |
tree | 43352e829636ff9da082fc36a7b79c0f7fa7249d /drivers/scsi/NCR5380.c | |
parent | 81f338e9709db0b67d05bab02809d6a4e6694884 (diff) |
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/scsi/NCR5380.c')
0 files changed, 0 insertions, 0 deletions