Arnd Bergmann
148959cc64
locking/lockdep: Hide unused 'class' variable
...
[ Upstream commit 68037aa78208f34bda4e5cd76c357f718b838cbb ]
The usage is now hidden in an #ifdef, so we need to move
the variable itself in there as well to avoid this warning:
kernel/locking/lockdep_proc.c:203:21: error: unused variable 'class' [-Werror,-Wunused-variable]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Qian Cai <cai@lca.pw>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yuyang Du <duyuyang@gmail.com>
Cc: frederic@kernel.org
Fixes: 68d41d8c94a3 ("locking/lockdep: Fix lock used or unused stats error")
Link: https://lkml.kernel.org/r/20190715092809.736834-1-arnd@arndb.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-31 07:27:09 +02:00
..
lockdep.c
locking/lockdep: Fix merging of hlocks with non-zero references
2019-07-26 09:14:03 +02:00
lockdep_internals.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
lockdep_proc.c
locking/lockdep: Hide unused 'class' variable
2019-07-31 07:27:09 +02:00
lockdep_states.h
locking/lockdep: Rework FS_RECLAIM annotation
2017-08-10 12:29:03 +02:00
locktorture.c
drm pull for 4.19-rc1
2018-08-15 17:39:07 -07:00
Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mcs_spinlock.h
locking/mcs: Use smp_cond_load_acquire() in MCS spin loop
2018-04-27 09:48:49 +02:00
mutex-debug.c
locking/mutex: Rework mutex::owner
2016-10-25 11:31:50 +02:00
mutex-debug.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mutex.c
locking/mutex: Fix mutex debug call and ww_mutex documentation
2018-09-10 10:05:10 +02:00
mutex.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
osq_lock.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
percpu-rwsem.c
locking/percpu-rwsem: Replace waitqueue with rcuwait
2017-01-14 11:14:35 +01:00
qrwlock.c
locking/qrwlock: Prevent slowpath writers getting held up by fastpath
2017-10-25 10:57:25 +02:00
qspinlock.c
locking/qspinlock, x86: Provide liveness guarantee
2018-12-21 14:15:12 +01:00
qspinlock_paravirt.h
locking/qspinlock: Remove duplicate clear_pending() function from PV code
2018-04-27 12:55:22 +02:00
qspinlock_stat.h
locking/qspinlock: Add stat tracking for pending vs. slowpath
2018-04-27 09:48:53 +02:00
rtmutex-debug.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
rtmutex-debug.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
rtmutex.c
futex: Handle early deadlock return correctly
2019-02-12 19:47:24 +01:00
rtmutex.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
rtmutex_common.h
locking/rtmutex: Handle non enqueued waiters gracefully in remove_waiter()
2018-03-28 23:01:30 +02:00
rwsem-spinlock.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
rwsem-xadd.c
locking/rwsem: Prevent decrement of reader count before increment
2019-05-22 07:37:34 +02:00
rwsem.c
locking/rwsem: Fix up_read_non_owner() warning with DEBUG_RWSEMS
2018-06-20 11:29:23 +02:00
rwsem.h
locking/rwsem: Add a new RWSEM_ANONYMOUSLY_OWNED flag
2018-05-16 11:45:15 +02:00
semaphore.c
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h>
2017-03-02 08:42:34 +01:00
spinlock.c
locking/core: Remove break_lock field when CONFIG_GENERIC_LOCKBREAK=y
2017-12-12 11:24:01 +01:00
spinlock_debug.c
locking/spinlock/debug: Remove spinlock lockup detection code
2017-02-10 09:09:49 +01:00
test-ww_mutex.c
locking/ww_mutex: Fix runtime warning in the WW mutex selftest
2018-10-03 08:56:31 +02:00