]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: use mutex instead of ide_setting_sem semaphore in IDE driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Mon, 9 Jul 2007 21:17:56 +0000 (23:17 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 9 Jul 2007 21:17:56 +0000 (23:17 +0200)
commitf9383c4269d264c3cf563bd2de365891f6592ebd
tree7f1f3525c51237dc5806d17dd2c68c19d47a493b
parent1b9da32a2855afa3c5f27690e03a33dc97410c42
ide: use mutex instead of ide_setting_sem semaphore in IDE driver

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

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
--
drivers/ide/ide-disk.c
drivers/ide/ide-proc.c
drivers/ide/ide.c
include/linux/ide.h