aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-08-02 08:44:24 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-02 08:51:06 -0400
commitbbfa26229a8143889e95e0df4a9d69067ee836cd (patch)
tree91bb4c5440fe29f03e132d58cc73860ac6a3b3a4
parentaf012961450949ea297b209e091bd1a3805b8a0a (diff)
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>
-rw-r--r--kernel/lockdep_proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c
index 9a1bf34d2ff6..fba81f16e346 100644
--- a/kernel/lockdep_proc.c
+++ b/kernel/lockdep_proc.c
@@ -411,8 +411,10 @@ static int lockdep_stats_show(struct seq_file *m, void *v)
411 max_lockdep_depth); 411 max_lockdep_depth);
412 seq_printf(m, " max recursion depth: %11u\n", 412 seq_printf(m, " max recursion depth: %11u\n",
413 max_recursion_depth); 413 max_recursion_depth);
414#ifdef CONFIG_PROVE_LOCKING
414 seq_printf(m, " max bfs queue depth: %11u\n", 415 seq_printf(m, " max bfs queue depth: %11u\n",
415 max_bfs_queue_depth); 416 max_bfs_queue_depth);
417#endif
416 lockdep_stats_debug_show(m); 418 lockdep_stats_debug_show(m);
417 seq_printf(m, " debug_locks: %11u\n", 419 seq_printf(m, " debug_locks: %11u\n",
418 debug_locks); 420 debug_locks);