mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
lockdep: Fix BFS build
Fix: kernel/built-in.o: In function `lockdep_stats_show': lockdep_proc.c:(.text+0x48202): undefined reference to `max_bfs_queue_depth' As max_bfs_queue_depth is only available under CONFIG_PROVE_LOCKING=y. Cc: Ming Lei <tom.leiming@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
af01296145
commit
bbfa26229a
1 changed files with 2 additions and 0 deletions
|
@ -411,8 +411,10 @@ static int lockdep_stats_show(struct seq_file *m, void *v)
|
||||||
max_lockdep_depth);
|
max_lockdep_depth);
|
||||||
seq_printf(m, " max recursion depth: %11u\n",
|
seq_printf(m, " max recursion depth: %11u\n",
|
||||||
max_recursion_depth);
|
max_recursion_depth);
|
||||||
|
#ifdef CONFIG_PROVE_LOCKING
|
||||||
seq_printf(m, " max bfs queue depth: %11u\n",
|
seq_printf(m, " max bfs queue depth: %11u\n",
|
||||||
max_bfs_queue_depth);
|
max_bfs_queue_depth);
|
||||||
|
#endif
|
||||||
lockdep_stats_debug_show(m);
|
lockdep_stats_debug_show(m);
|
||||||
seq_printf(m, " debug_locks: %11u\n",
|
seq_printf(m, " debug_locks: %11u\n",
|
||||||
debug_locks);
|
debug_locks);
|
||||||
|
|
Loading…
Reference in a new issue