]> git.baikalelectronics.ru Git - kernel.git/commit
sysdev: use mutex instead of semaphore
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Wed, 23 May 2007 21:19:42 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:01 +0000 (16:09 -0700)
commit3b1b4b26716f59f7d9cfb0719418336aad670e7f
tree9f409655c2fb860fac729e88bcdb7c1f7017bc73
parent251fc91e0e5fa0c5b00b96e61594057f8d2cd220
sysdev: use mutex instead of semaphore

The sysdev code use 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/sys.c