diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2014-05-29 11:53:18 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-06-02 03:54:56 -0400 |
commit | 094963dad88c86f8f480c78992df03d916774c18 (patch) | |
tree | 4855df6634281b06ee4f6a9f1426729a42056b4a /drivers/scsi/hpsa.h | |
parent | 41b3cf08cd5e7915293f3784ab649d48bb142153 (diff) |
hpsa: use per-cpu variable for lockup_detected
Avoid excessive locking by using per-cpu variable for lockup_detected
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Reviewed-by: Scott Teel <scott.teel@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r-- | drivers/scsi/hpsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 60d72fc3c180..6da9a9f4b749 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h | |||
@@ -192,7 +192,7 @@ struct ctlr_info { | |||
192 | u64 last_heartbeat_timestamp; | 192 | u64 last_heartbeat_timestamp; |
193 | u32 heartbeat_sample_interval; | 193 | u32 heartbeat_sample_interval; |
194 | atomic_t firmware_flash_in_progress; | 194 | atomic_t firmware_flash_in_progress; |
195 | u32 lockup_detected; | 195 | u32 *lockup_detected; |
196 | struct delayed_work monitor_ctlr_work; | 196 | struct delayed_work monitor_ctlr_work; |
197 | int remove_in_progress; | 197 | int remove_in_progress; |
198 | u32 fifo_recently_full; | 198 | u32 fifo_recently_full; |