]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] megaraid_mbox: use mutex instead of semaphore
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Mon, 9 Jul 2007 19:00:11 +0000 (12:00 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sun, 15 Jul 2007 00:10:19 +0000 (19:10 -0500)
commit0c2cc4337968f7aab91a91b8d5889982e3a3bd0d
tree96843d958292098ee5b821658e20583a1d35504b
parent5fa0f5e47a87ceb8a3269b28fa14764b37364f63
[SCSI] megaraid_mbox: use mutex instead of semaphore

The Megaraid Mailbox driver uses a semaphore as mutex.  Use the mutex API
instead of the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Acked-by: "Patro, Sumant" <Sumant.Patro@lsi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid/mega_common.h
drivers/scsi/megaraid/megaraid_mbox.c
drivers/scsi/megaraid/megaraid_mbox.h