diff options
| author | Arnd Bergmann <[email protected]> | 2019-06-17 12:47:05 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-25 08:17:07 +0000 |
| commit | 886532aee3cd42d95196601ed16d7c3d4679e9e5 (patch) | |
| tree | 700f9117bfe40e874b6e1b2854eaaa8dac67ee16 /fs/proc/array.c | |
| parent | x86/jump_label: Make tp_vec_nr static (diff) | |
| download | kernel-886532aee3cd42d95196601ed16d7c3d4679e9e5.tar.gz kernel-886532aee3cd42d95196601ed16d7c3d4679e9e5.zip | |
locking/lockdep: Move mark_lock() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING
The last cleanup patch triggered another issue, as now another function
should be moved into the same section:
kernel/locking/lockdep.c:3580:12: error: 'mark_lock' defined but not used [-Werror=unused-function]
static int mark_lock(struct task_struct *curr, struct held_lock *this,
Move mark_lock() into the same #ifdef section as its only caller, and
remove the now-unused mark_lock_irq() stub helper.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Bart Van Assche <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Yuyang Du <[email protected]>
Fixes: 0d2cc3b34532 ("locking/lockdep: Move valid_state() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
