IB/umad: Make user_mad semaphore a real one
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:33:31 +0000 (14:33 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 29 Sep 2010 03:52:21 +0000 (20:52 -0700)
commit557d0540b96176dc42943e84c88c288f523388ca
tree662dd22ce788e895243ec5accfd11c7ea051fc65
parent605841f5d263892d9254f09fcf265a26e0bede7e
IB/umad: Make user_mad semaphore a real one

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/user_mad.c