From: Peter Zijlstra Date: Fri, 19 Mar 2010 00:37:42 +0000 (+0100) Subject: lockdep: Add novalidate class for dev->mutex conversion X-Git-Tag: v2.6.35-rc1~459^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1704f47b50b5d9e1b825e43e1baaf2c5897baf03;p=pandora-kernel.git lockdep: Add novalidate class for dev->mutex conversion The conversion of device->sem to device->mutex resulted in lockdep warnings. Create a novalidate class for now until the driver folks come up with separate classes. That way we have at least the basic mutex debugging coverage. Add a checkpatch error so the usage is reserved for device->mutex. [ tglx: checkpatch and compile fix for LOCKDEP=n ] Signed-off-by: Peter Zijlstra Signed-off-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed