aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSuresh Thiagarajan <[email protected]>2014-01-16 15:26:21 +0530
committerJames Bottomley <[email protected]>2014-03-15 10:19:01 -0700
commit2b01d816f5f884d5ea16ab2498736b1221bc027c (patch)
tree5adfe6415c09702b8ae1a7d32adc28533d267459 /tools/perf/scripts/python/netdev-times.py
parenteee0f03a547f50ca81a8d01ee9f1c84fecd1f64c (diff)
[SCSI] pm80xx: Spinlock fix
spin_lock_irqsave for the HBA lock is called in one function where flag is local to that function. Another function is called from the first function where lock has to be released using spin_unlock_irqrestore for calling task_done of libsas. In the second function also flag is declared and used. For calling task_done there is no need to enable the irq. So instead of using spin_lock_irqsave and spin_unlock_irqrestore, spin_lock and spin_unlock is used now. This also avoids passing the flags across all the functions where HBA lock is being used. Also removed redundant code. Reported-by: Jason Seba <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Suresh Thiagarajan <[email protected]> Signed-off-by: Viswas G <[email protected]> Acked-by: Jack Wang <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions