commit | 1481197b50114d7212d659d41cb97f31a8934883 | [log] [tgz] |
---|---|---|
author | Dale Farnsworth <dale@farnsworth.org> | Mon Feb 25 23:03:02 2008 +0100 |
committer | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon Feb 25 23:03:02 2008 +0100 |
tree | c3ad3133cef46f64d3a6dbb9773591bcf29b87f9 | |
parent | bdb9441e9c325d50b5ae17f7d3205d65b8ed2e5f [diff] |
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>