From: Dale Farnsworth Date: Mon, 25 Feb 2008 22:03:02 +0000 (+0100) Subject: Subject: lockdep: include all lock classes in all_lock_classes X-Git-Tag: v2.6.25-rc4~157^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1481197b50114d7212d659d41cb97f31a8934883;p=pandora-kernel.git Subject: lockdep: include all lock classes in all_lock_classes Add each lock class to the all_lock_classes list when it is first registered. Previously, lock classes were added to all_lock_classes when the lock class was first used. Since one of the uses of the list is to find unused locks, this didn't work well. Signed-off-by: Dale Farnsworth Signed-off-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed