• Dave Young's avatar
    class: change internal semaphore to a mutex · f75b1c60
    Dave Young authored
    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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    f75b1c60
class.c 10 KB