diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-11-17 17:59:49 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 13:41:04 -0600 |
commit | b15ebe0b5d0b95aeb1d84cae3649df1e0e065e9b (patch) | |
tree | ff93ad5f8be5fe91c7e6cf4963253491ddd058fb /include/scsi/libsas.h | |
parent | 756f173fb5fa90ec15222e80fb579288be7794fd (diff) | |
download | kernel_goldelico_gta04-b15ebe0b5d0b95aeb1d84cae3649df1e0e065e9b.zip kernel_goldelico_gta04-b15ebe0b5d0b95aeb1d84cae3649df1e0e065e9b.tar.gz kernel_goldelico_gta04-b15ebe0b5d0b95aeb1d84cae3649df1e0e065e9b.tar.bz2 |
[SCSI] libsas: replace event locks with atomic bitops
The locks only served to make sure the pending event bitmask was updated
consistently.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r-- | include/scsi/libsas.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 7ecb5c1..de63a66 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -215,7 +215,6 @@ struct sas_discovery_event { }; struct sas_discovery { - spinlock_t disc_event_lock; struct sas_discovery_event disc_work[DISC_NUM_EVENTS]; unsigned long pending; u8 fanout_sas_addr[8]; @@ -272,7 +271,6 @@ struct asd_sas_event { */ struct asd_sas_phy { /* private: */ - /* protected by ha->event_lock */ struct asd_sas_event port_events[PORT_NUM_EVENTS]; struct asd_sas_event phy_events[PHY_NUM_EVENTS]; @@ -337,7 +335,6 @@ enum sas_ha_state { struct sas_ha_struct { /* private: */ - spinlock_t event_lock; struct sas_ha_event ha_events[HA_NUM_EVENTS]; unsigned long pending; |