]> err.no Git - linux-2.6/commit
[PATCH] fix/simplify mutex debugging code
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 11 Jan 2006 14:41:26 +0000 (14:41 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Jan 2006 16:14:16 +0000 (08:14 -0800)
commita4fc7ab1d065a9dd89ed0e74439ef87d4a16e980
tree6312597ad183ee45e8769b1bc5b0035bfa681d64
parenta8b9ee7396ccc8db3bdb4108993556acbe2d3527
[PATCH] fix/simplify mutex debugging code

Let's switch mutex_debug_check_no_locks_freed() to take (addr, len) as
arguments instead, since all its callers were just calculating the 'to'
address for themselves anyway... (and sometimes doing so badly).

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/pageattr.c
include/linux/mm.h
include/linux/mutex-debug.h
include/linux/mutex.h
kernel/mutex-debug.c
mm/page_alloc.c
mm/slab.c