aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/lockdep_proc.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-08-06 21:44:57 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-06 21:44:57 -0400
commit13dfb3fa494361ea9a5950f27c9cd8b06d28c04f (patch)
tree1bf30874f57c6c6b21160a10282191fcd0868055 /kernel/locking/lockdep_proc.c
parent05bb520376af2c5146d3c44832c22ec3bb54d778 (diff)
parent33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Just minor overlapping changes in the conflicts here. Signed-off-by: David S. Miller <davem@davemloft.net>
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)