IPMI: fix hotmod remove lock
commitac0191517c3b5f2cf68ab36756d64ef035c4a770
authorCorey Minyard <cminyard@mvista.com>
Thu, 18 Oct 2007 10:07:11 +0000 (18 03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:32 +0000 (18 14:37 -0700)
tree0c403b55053faf9c4add07658069430cbc527210
parent612b5a8d3a57d07698ceec0e307a84f38b241fe2
IPMI: fix hotmod remove lock

The removal of proc entries was done holding a lock, which is no longer
allowed.  There is no need for the lock, only a mutex is required, so switch
over to a mutex.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_msghandler.c