lockdep: Fix BFS build
authorIngo Molnar <mingo@elte.hu>
Sun, 2 Aug 2009 12:44:24 +0000 (14:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 2 Aug 2009 12:51:06 +0000 (14:51 +0200)
commitbbfa26229a8143889e95e0df4a9d69067ee836cd
tree91bb4c5440fe29f03e132d58cc73860ac6a3b3a4
parentaf012961450949ea297b209e091bd1a3805b8a0a
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>
kernel/lockdep_proc.c