drivers/edac: fix edac_device semaphore to mutex
authorDoug Thompson <dougthompson@xmission.com>
Thu, 19 Jul 2007 08:50:22 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:56 +0000 (10:04 -0700)
commit0ca84761faeb9d49301d45b39859411c7a124690
tree742416b9c5db96227be2de0004b6b81058779029
parent7f065e723b02afb0d36a2aae8e6d206ba2667fc6
drivers/edac: fix edac_device semaphore to mutex

A previous patch changed the edac_mc src file from semaphore usage to mutex
This patch changes the edac_device src file as well, from semaphore use to
mutex operation.

Use a mutex primitive for mutex operations, as it does not require a
semaphore

Cc: Alan Cox alan@lxorguk.ukuu.org.uk
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/edac_device.c