summaryrefslogtreecommitdiffstats
path: root/kernel/mutex-debug.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-07-03 09:24:31 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-04 00:27:01 +0200
commit36596243daf7e1d795c647de04af95e835b8c5b4 (patch)
tree8348a9f5e3729cf0df5064753bfdcc1ec159eaa8 /kernel/mutex-debug.h
parent[PATCH] lockdep: rename DEBUG_WARN_ON() (diff)
downloadlinux-36596243daf7e1d795c647de04af95e835b8c5b4.tar.xz
linux-36596243daf7e1d795c647de04af95e835b8c5b4.zip
[PATCH] lockdep: remove DEBUG_BUG_ON()
cleanup: remove unused DEBUG_BUG_ON() defines. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/mutex-debug.h')
-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 { \
} \
} while (0)
-# define DEBUG_BUG_ON(c) \
-do { \
- if (unlikely(c)) \
- DEBUG_BUG(); \
-} while (0)
-
#ifdef CONFIG_SMP
# define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
-# define SMP_DEBUG_BUG_ON(c) DEBUG_BUG_ON(c)
#else
# define SMP_DEBUG_LOCKS_WARN_ON(c) do { } while (0)
-# define SMP_DEBUG_BUG_ON(c) do { } while (0)
#endif