]> err.no Git - linux-2.6/commit
class: change internal semaphore to a mutex
authorDave Young <hidave.darkstar@gmail.com>
Wed, 28 May 2008 16:28:39 +0000 (09:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:52 +0000 (21:54 -0700)
commitf75b1c60fc1e53c4004a79ea0be071aa3318cdcc
tree75728a6393f2e7568cd17ffd749fd3c4a4e1d95f
parentd2a3b9146e4f40c2e872d7567c996ef95083d802
class: change internal semaphore to a mutex

Now that the lockdep infrastructure in the class core is in place, we
should be able to properly change the internal class semaphore to be a
mutex.

David wrote the original patch, and Greg fixed it up to apply properly
due to all of the recent changes in this area.

From: Dave Young <hidave.darkstar@gmail.com>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/base.h
drivers/base/class.c
drivers/base/core.c