aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas.h
diff options
context:
space:
mode:
authorSumant Patro <sumantp@lsil.com>2006-05-30 15:03:37 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-06 10:57:18 -0400
commite4a082c7c1f9a7b11fece6918e7ee5519b39ac46 (patch)
tree8aa1d865b2ddfb9b897e30e97dede3268c00b582 /drivers/scsi/megaraid/megaraid_sas.h
parentf70e9c5f91f1d2d9ce79dc45221540e25b4e4ac0 (diff)
[SCSI] megaraid_sas: switch fw_outstanding to an atomic_t
This patch( originally submitted by Christoph Hellwig) removes instance_lock and changes fw_outstanding variable data type to atomic_t. Signed-off-by: Sumant Patro <Sumant.Patro@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h
index 89639f0c38ef..927d6ffef05f 100644
--- a/drivers/scsi/megaraid/megaraid_sas.h
+++ b/drivers/scsi/megaraid/megaraid_sas.h
@@ -1077,9 +1077,8 @@ struct megasas_instance {
1077 struct pci_dev *pdev; 1077 struct pci_dev *pdev;
1078 u32 unique_id; 1078 u32 unique_id;
1079 1079
1080 u32 fw_outstanding; 1080 atomic_t fw_outstanding;
1081 u32 hw_crit_error; 1081 u32 hw_crit_error;
1082 spinlock_t instance_lock;
1083 1082
1084 struct megasas_instance_template *instancet; 1083 struct megasas_instance_template *instancet;
1085}; 1084};