diff --git a/[refs] b/[refs] index c49ee2ffe8ae..9dd5629ca2ee 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b4b136f44b3b7adb9265fd5566d0ea9b99b1cd5f +refs/heads/master: 9833f8cb952b9aa3f98a71e7bef8820cee3261a0 diff --git a/trunk/kernel/lockdep_proc.c b/trunk/kernel/lockdep_proc.c index b51064ce564a..d7135aa2d2c4 100644 --- a/trunk/kernel/lockdep_proc.c +++ b/trunk/kernel/lockdep_proc.c @@ -601,6 +601,10 @@ static void seq_stats(struct seq_file *m, struct lock_stat_data *data) static void seq_header(struct seq_file *m) { seq_printf(m, "lock_stat version 0.3\n"); + + if (unlikely(!debug_locks)) + seq_printf(m, "*WARNING* lock debugging disabled!! - possibly due to a lockdep warning\n"); + seq_line(m, '-', 0, 40 + 1 + 10 * (14 + 1)); seq_printf(m, "%40s %14s %14s %14s %14s %14s %14s %14s %14s " "%14s %14s\n",