• M
    class: add lockdep infrastructure · d2a3b914
    Matthew Wilcox 提交于
    This adds the infrastructure to properly handle lockdep issues when the
    internal class semaphore is changed to a mutex.
    
    Matthew wrote the original patch, and Greg fixed it up to work properly
    with the class_create() function.
    
    
    From: Matthew Wilcox <matthew@wil.cx>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Cc: Dave Young <hidave.darkstar@gmail.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    d2a3b914
device.h 17.7 KB