projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7f4d4
)
[PATCH] lockdep: remove DEBUG_BUG_ON()
author
Ingo Molnar
<
[email protected]
>
Mon, 3 Jul 2006 07:24:31 +0000
(
00:24
-0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 3 Jul 2006 22:27:01 +0000
(15:27 -0700)
cleanup: remove unused DEBUG_BUG_ON() defines.
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/mutex-debug.h
patch
|
blob
|
history
diff --git
a/kernel/mutex-debug.h
b/kernel/mutex-debug.h
index 8417b52ebd6539fb5bbfbf64eabd51228b2b24e5..bdab13a9ee2608de76f55993bd884f68008f74c7 100644
(file)
--- 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