CAPI: Convert capidev_list_lock into a mutex
authorJan Kiszka <jan.kiszka@web.de>
Mon, 8 Feb 2010 10:12:17 +0000 (10:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 00:01:23 +0000 (16:01 -0800)
commitb8f433dc5cd9b910c12ef5cca351bf720d3e68c1
tree1126f4361f0776d1f96662d4abba6cfea0750d95
parent501c87a91909efaad91425635b29b01f1473c659
CAPI: Convert capidev_list_lock into a mutex

No need for anything "harder" here (specifically no need for
irqsave...). Also, make the list removal the first operation of
capidev_free to avoid dumping half-released devices via /proc.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/capi.c