aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2020-01-20 12:22:32 +0000
committerMartin K. Petersen <[email protected]>2020-01-21 00:31:13 +0000
commite9dc5e11c97ee981dac9ac5cd6f8f1c2384135ca (patch)
tree43352e829636ff9da082fc36a7b79c0f7fa7249d /lib/test_bitmap.c
parentscsi: hisi_sas: use threaded irq to process CQ interrupts (diff)
downloadkernel-e9dc5e11c97ee981dac9ac5cd6f8f1c2384135ca.tar.gz
kernel-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/[email protected] Signed-off-by: Xiang Chen <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions