[PATCH] lock debugging: fix DEBUG_LOCKS_WARN_ON() & debug_locks_silent
authorIngo Molnar <mingo@elte.hu>
Fri, 22 Dec 2006 09:08:52 +0000 (01:08 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:48 +0000 (08:55 -0800)
commit9127d4b1d9b2e8fba8e7fbc7f88ea93e5eb01396
tree72ca7baa89ae9d7f55747b28aff8e7eda5b54eee
parentba3ff12fca318225cb978c6181b83d38dcbc5b09
[PATCH] lock debugging: fix DEBUG_LOCKS_WARN_ON() & debug_locks_silent

Matthew Wilcox noticed that the debug_locks_silent use should be inverted
in DEBUG_LOCKS_WARN_ON().  This bug was causing spurious stacktraces and
incorrect failures in the locking self-test on the parisc kernel.

Bug-found-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/debug_locks.h