]> git.baikalelectronics.ru Git - kernel.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)
commit06c951b166552ab2991020cf77768ee0f6b31126
tree96843d958292098ee5b821658e20583a1d35504b
parent3e77107e2573e0b52588a34222ac4400d611c076
[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