diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2008-02-25 23:03:02 +0100 |
---|---|---|
committer | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-02-25 23:03:02 +0100 |
commit | 1481197b50114d7212d659d41cb97f31a8934883 (patch) | |
tree | c3ad3133cef46f64d3a6dbb9773591bcf29b87f9 /include/linux/can/Kbuild | |
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>
Diffstat (limited to 'include/linux/can/Kbuild')
0 files changed, 0 insertions, 0 deletions