Finn Thain 4da2b1eb23 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>
2017-04-25 13:00:59 -04:00
..
2017-03-03 21:36:56 -08:00
2017-02-08 10:51:24 -08:00
2017-04-06 13:07:33 -04:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2014-07-17 22:07:37 +02:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2015-11-09 16:32:14 -08:00
2017-03-29 22:50:09 -04:00
2017-01-05 00:21:12 -05:00
2016-02-25 21:10:53 -05:00
2017-03-23 12:04:05 -04:00
2017-03-23 12:04:05 -04:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2014-07-17 22:07:35 +02:00
2016-02-23 21:27:02 -05:00
2016-11-28 15:51:31 -05:00
2017-01-31 14:00:34 -07:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:39 +02:00
2014-11-12 11:15:57 +01:00
2015-11-18 11:59:09 -05:00
2017-03-15 19:22:10 -04:00
2017-02-21 11:51:42 -08:00
2017-03-15 19:27:46 -04:00