aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/mutex-debug.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/mutex-debug.h b/kernel/mutex-debug.h
index 8417b52ebd65..bdab13a9ee26 100644
--- a/kernel/mutex-debug.h
+++ b/kernel/mutex-debug.h
@@ -103,17 +103,9 @@ do { \
103 } \ 103 } \
104} while (0) 104} while (0)
105 105
106# define DEBUG_BUG_ON(c) \
107do { \
108 if (unlikely(c)) \
109 DEBUG_BUG(); \
110} while (0)
111
112#ifdef CONFIG_SMP 106#ifdef CONFIG_SMP
113# define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c) 107# define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
114# define SMP_DEBUG_BUG_ON(c) DEBUG_BUG_ON(c)
115#else 108#else
116# define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0) 109# define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0)
117# define SMP_DEBUG_BUG_ON(c) do { } while (0)
118#endif 110#endif
119 111