aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/locking/rwsem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/locking/rwsem.h b/kernel/locking/rwsem.h
index 37db17890e36..64877f5294e3 100644
--- a/kernel/locking/rwsem.h
+++ b/kernel/locking/rwsem.h
@@ -30,7 +30,8 @@
30 30
31#ifdef CONFIG_DEBUG_RWSEMS 31#ifdef CONFIG_DEBUG_RWSEMS
32# define DEBUG_RWSEMS_WARN_ON(c, sem) do { \ 32# define DEBUG_RWSEMS_WARN_ON(c, sem) do { \
33 if (WARN_ONCE(c, "DEBUG_RWSEMS_WARN_ON(%s): count = 0x%lx, owner = 0x%lx, curr 0x%lx, list %sempty\n",\ 33 if (!debug_locks_silent && \
34 WARN_ONCE(c, "DEBUG_RWSEMS_WARN_ON(%s): count = 0x%lx, owner = 0x%lx, curr 0x%lx, list %sempty\n",\
34 #c, atomic_long_read(&(sem)->count), \ 35 #c, atomic_long_read(&(sem)->count), \
35 (long)((sem)->owner), (long)current, \ 36 (long)((sem)->owner), (long)current, \
36 list_empty(&(sem)->wait_list) ? "" : "not ")) \ 37 list_empty(&(sem)->wait_list) ? "" : "not ")) \