diff options
author | matthias@kaehlcke.net <matthias@kaehlcke.net> | 2008-05-12 22:21:11 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-15 16:39:29 +0100 |
commit | 6c2f527cb84cbd7d2d8a668c979e70bf78980ccc (patch) | |
tree | 5674b1504695f593bab09a32663beac82d77a20a /drivers/scsi/qla2xxx/qla_def.h | |
parent | e1e82b6f0df0c5175ddd3d4f8862507aa71da8e9 (diff) | |
download | talos-obmc-linux-6c2f527cb84cbd7d2d8a668c979e70bf78980ccc.tar.gz talos-obmc-linux-6c2f527cb84cbd7d2d8a668c979e70bf78980ccc.zip |
[SCSI] qla2xxx: Convert vport_sem to a mutex
The semaphore vport_sem is used as a mutex. Convert it to the
mutex API.
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 299eccf6cabd..8dd600013bd1 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -2457,7 +2457,7 @@ typedef struct scsi_qla_host { #define MBX_INTR_WAIT 2 #define MBX_UPDATE_FLASH_ACTIVE 3 - struct semaphore vport_sem; /* Virtual port synchronization */ + struct mutex vport_lock; /* Virtual port synchronization */ struct completion mbx_cmd_comp; /* Serialize mbx access */ struct completion mbx_intr_comp; /* Used for completion notification */ |