diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-06-22 23:20:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-23 19:28:20 -0400 |
commit | cd1a28e8457e6ebf72c48d84d4e736307e86436e (patch) | |
tree | 09371914495f7e3803016516ba887b593ea64a9b /kernel/lockdep_internals.h | |
parent | 443cd507ce7f78c6f8742b72736585c031d5a921 (diff) |
lockdep: add lock_class information to lock_chain and output it
It is based on x86/master branch of git-x86 tree, and has been tested
on x86_64 platform.
ChangeLog:
v2:
- Enclosing proc file system related code into CONFIG_PROVE_LOCKING.
- Fix nr_chain_hlocks update code.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep_internals.h')
-rw-r--r-- | kernel/lockdep_internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/lockdep_internals.h b/kernel/lockdep_internals.h index db09b176dd34..c3600a091a28 100644 --- a/kernel/lockdep_internals.h +++ b/kernel/lockdep_internals.h | |||
@@ -44,7 +44,7 @@ struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i); | |||
44 | extern unsigned long nr_lock_classes; | 44 | extern unsigned long nr_lock_classes; |
45 | extern unsigned long nr_list_entries; | 45 | extern unsigned long nr_list_entries; |
46 | extern unsigned long nr_lock_chains; | 46 | extern unsigned long nr_lock_chains; |
47 | extern atomic_t nr_chain_hlocks; | 47 | extern int nr_chain_hlocks; |
48 | extern unsigned long nr_stack_trace_entries; | 48 | extern unsigned long nr_stack_trace_entries; |
49 | 49 | ||
50 | extern unsigned int nr_hardirq_chains; | 50 | extern unsigned int nr_hardirq_chains; |