net: Wan/cosa.c: Convert "mutex" to semaphore
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:32:25 +0000 (14:32 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 15:36:09 +0000 (17:36 +0200)
commitd1985508320ad40a68375bdbafa8a5d6c56d2114
tree5f19a8cd326d7cea49b2a3aa80d2440d299f2ff4
parent0bce198b7688911e072bd65032ab9278b577ee93
net: Wan/cosa.c: Convert "mutex" to semaphore

Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Acked-by: "David S. Miller" <davem@davemloft.net>
LKML-Reference: <20100907125055.557578360@linutronix.de>
drivers/net/wan/cosa.c