|
@@ -384,7 +384,9 @@ static void print_lockdep_off(const char *bug_msg)
|
|
{
|
|
{
|
|
printk(KERN_DEBUG "%s\n", bug_msg);
|
|
printk(KERN_DEBUG "%s\n", bug_msg);
|
|
printk(KERN_DEBUG "turning off the locking correctness validator.\n");
|
|
printk(KERN_DEBUG "turning off the locking correctness validator.\n");
|
|
|
|
+#ifdef CONFIG_LOCK_STAT
|
|
printk(KERN_DEBUG "Please attach the output of /proc/lock_stat to the bug report\n");
|
|
printk(KERN_DEBUG "Please attach the output of /proc/lock_stat to the bug report\n");
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
static int save_trace(struct stack_trace *trace)
|
|
static int save_trace(struct stack_trace *trace)
|