]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitdb0294becdab342434db8afd1cba341d93f9727b
tree72ca7baa89ae9d7f55747b28aff8e7eda5b54eee
parente37d68b1d354ddeccb1efc9f79989a53141c4095
[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