[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-4766ab5677a2842834f9bc4a21587256a811531c@git.kernel.org>
Date: Mon, 15 Oct 2018 23:36:52 -0700
From: tip-bot for Waiman Long <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, longman@...hat.com,
will.deacon@....com, peterz@...radead.org,
torvalds@...ux-foundation.org, mingo@...nel.org, hpa@...or.com,
tglx@...utronix.de
Subject: [tip:locking/core] locking/lockdep: Remove duplicated
'lock_class_ops' percpu array
Commit-ID: 4766ab5677a2842834f9bc4a21587256a811531c
Gitweb: https://git.kernel.org/tip/4766ab5677a2842834f9bc4a21587256a811531c
Author: Waiman Long <longman@...hat.com>
AuthorDate: Fri, 12 Oct 2018 17:42:27 -0400
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 16 Oct 2018 08:21:10 +0200
locking/lockdep: Remove duplicated 'lock_class_ops' percpu array
Remove the duplicated 'lock_class_ops' percpu array that is not used
anywhere.
Signed-off-by: Waiman Long <longman@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Will Deacon <will.deacon@....com>
Fixes: 8ca2b56cd7da ("locking/lockdep: Make class->ops a percpu counter and move it under CONFIG_DEBUG_LOCKDEP=y")
Link: http://lkml.kernel.org/r/1539380547-16726-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
kernel/locking/lockdep.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index a0f83058d6aa..8a732c856624 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -436,7 +436,6 @@ unsigned int max_lockdep_depth;
* Various lockdep statistics:
*/
DEFINE_PER_CPU(struct lockdep_stats, lockdep_stats);
-DEFINE_PER_CPU(unsigned long [MAX_LOCKDEP_KEYS], lock_class_ops);
#endif
/*
Powered by blists - more mailing lists