]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
class: add lockdep infrastructure
authorMatthew Wilcox <matthew@wil.cx>
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)
commitd2a3b9146e4f40c2e872d7567c996ef95083d802
treec95bd0a155e1c868fcaffeb0949dd3441203f72a
parent1e41250863cd4de5ffa0678c405d001ca5b62796
class: add lockdep infrastructure

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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
include/linux/device.h