From: Peter Zijlstra Date: Wed, 11 Oct 2006 05:45:14 +0000 (-0400) Subject: Lockdep: add lockdep_set_class_and_subclass() and lockdep_set_subclass() X-Git-Tag: v2.6.19-rc3~152^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dfbb9d8c6cbfc32faa5c71145bd2a43e1f8237c;p=pandora-kernel.git Lockdep: add lockdep_set_class_and_subclass() and lockdep_set_subclass() This annotation makes it possible to assign a subclass on lock init. This annotation is meant to reduce the _nested() annotations by assigning a default subclass. One could do without this annotation and rely on lockdep_set_class() exclusively, but that would require a manual stack of struct lock_class_key objects. Signed-off-by: Peter Zijlstra Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed