diff options
-rw-r--r-- | kernel/locking/lockdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index d24e4339b46d..88d0d4420ad2 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c | |||
@@ -384,7 +384,9 @@ static void print_lockdep_off(const char *bug_msg) | |||
384 | { | 384 | { |
385 | printk(KERN_DEBUG "%s\n", bug_msg); | 385 | printk(KERN_DEBUG "%s\n", bug_msg); |
386 | printk(KERN_DEBUG "turning off the locking correctness validator.\n"); | 386 | printk(KERN_DEBUG "turning off the locking correctness validator.\n"); |
387 | #ifdef CONFIG_LOCK_STAT | ||
387 | printk(KERN_DEBUG "Please attach the output of /proc/lock_stat to the bug report\n"); | 388 | printk(KERN_DEBUG "Please attach the output of /proc/lock_stat to the bug report\n"); |
389 | #endif | ||
388 | } | 390 | } |
389 | 391 | ||
390 | static int save_trace(struct stack_trace *trace) | 392 | static int save_trace(struct stack_trace *trace) |