aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/lockdep_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/locking/lockdep_proc.c')
-rw-r--r--kernel/locking/lockdep_proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/locking/lockdep_proc.c b/kernel/locking/lockdep_proc.c
index 65b6a1600c8f..bda006f8a88b 100644
--- a/kernel/locking/lockdep_proc.c
+++ b/kernel/locking/lockdep_proc.c
@@ -200,7 +200,6 @@ static void lockdep_stats_debug_show(struct seq_file *m)
200 200
201static int lockdep_stats_show(struct seq_file *m, void *v) 201static int lockdep_stats_show(struct seq_file *m, void *v)
202{ 202{
203 struct lock_class *class;
204 unsigned long nr_unused = 0, nr_uncategorized = 0, 203 unsigned long nr_unused = 0, nr_uncategorized = 0,
205 nr_irq_safe = 0, nr_irq_unsafe = 0, 204 nr_irq_safe = 0, nr_irq_unsafe = 0,
206 nr_softirq_safe = 0, nr_softirq_unsafe = 0, 205 nr_softirq_safe = 0, nr_softirq_unsafe = 0,
@@ -211,6 +210,8 @@ static int lockdep_stats_show(struct seq_file *m, void *v)
211 sum_forward_deps = 0; 210 sum_forward_deps = 0;
212 211
213#ifdef CONFIG_PROVE_LOCKING 212#ifdef CONFIG_PROVE_LOCKING
213 struct lock_class *class;
214
214 list_for_each_entry(class, &all_lock_classes, lock_entry) { 215 list_for_each_entry(class, &all_lock_classes, lock_entry) {
215 216
216 if (class->usage_mask == 0) 217 if (class->usage_mask == 0)