Use mutex instead of semaphore in CAPI 2.0 driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 17 Jul 2007 11:04:16 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:05 +0000 (10:23 -0700)
commit67837f232d6d55be99d6e0dec4ea9bb8112840cd
tree031713a5ce68712d3df3bab5eafdb52fdd829d04
parent940408289842677cfe9e053a6c423bf3fb922560
Use mutex instead of semaphore in CAPI 2.0 driver

The CAPI 2.0 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: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/capi/kcapi.c
include/linux/kernelcapi.h