[SCSI] bfa: Serialize the IOC hw semaphore unlock logic.
authorKrishna Gudipati <kgudipat@brocade.com>
Wed, 14 Mar 2012 00:38:56 +0000 (17:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 28 Mar 2012 08:53:45 +0000 (09:53 +0100)
commit8919678eaaa2988000ff79341e42b656d5ca009b
tree8503168181cd438360e9811fd48bcc48ac0061dc
parent1f67096ca5299ab67d06abeb4180c988960f9280
[SCSI] bfa: Serialize the IOC hw semaphore unlock logic.

Made changes to ensure only the function that comes first will execute
the IOC hw semaphore unlock logic.
Used IOC init sem register to serialize execution of the unlock logic.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_ioc.c