From acf59377267b5a74818e76873d0670b0ca6cf2fe Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Tue, 15 Jul 2014 21:10:52 +0200 Subject: [PATCH] locking/lockdep: Only ask for /proc/lock_stat output when available When lockdep turns itself off, the following message is logged: Please attach the output of /proc/lock_stat to the bug report Omit this message when CONFIG_LOCK_STAT is off, and /proc/lock_stat doesn't exist. Signed-off-by: Andreas Gruenbacher Signed-off-by: Peter Zijlstra Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1405451452-3824-1-git-send-email-andreas.gruenbacher@gmail.com Signed-off-by: Ingo Molnar --- Reading git-format-patch failed