]> err.no Git - linux-2.6/commit
Subject: lockdep: include all lock classes in all_lock_classes
authorDale Farnsworth <dale@farnsworth.org>
Mon, 25 Feb 2008 22:03:02 +0000 (23:03 +0100)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 25 Feb 2008 22:03:02 +0000 (23:03 +0100)
commit1481197b50114d7212d659d41cb97f31a8934883
treec3ad3133cef46f64d3a6dbb9773591bcf29b87f9
parentbdb9441e9c325d50b5ae17f7d3205d65b8ed2e5f
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 <dale@farnsworth.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c