]> git.baikalelectronics.ru Git - kernel.git/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)
commite84ff42f7333a3da2967f609c5a4aed537d3f4ba
tree75728a6393f2e7568cd17ffd749fd3c4a4e1d95f
parent7e3d5c5f2ef4b40794c9d2e4a68c220d83f86866
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