diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2017-04-02 17:08:05 +1000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-25 13:00:59 -0400 |
commit | 4da2b1eb230ba4ad19b58984dc52e05b1073df5f (patch) | |
tree | c6bcd3f383f9e766bd2fd65b741d424e27433553 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 62d57f20ff6d9715c5d7605c5b6b1a2e6f4fbbd8 (diff) |
scsi: mac_esp: Replace bogus memory barrier with spinlock
Commit da244654c66e ("[SCSI] mac_esp: fix for quadras with two esp
chips") added mac_scsi_esp_intr() to handle the IRQ lines from a pair of
on-board ESP chips (a normal shared IRQ did not work).
Proper mutual exclusion was missing from that patch. This patch fixes
race conditions between comparison and assignment of esp_chips[]
pointers.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions