[PATCH] mm: locks_freed fix
authorNick Piggin <npiggin@suse.de>
Wed, 11 Oct 2006 08:21:30 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:19 +0000 (11:14 -0700)
commit9858db504caedb2424b9a32744c23f9a81ec1731
tree516b4735df82feb9b14bea4984769e7ac013373d
parentdafb13673c463bc2aade4a4819704dde0f5fa37f
[PATCH] mm: locks_freed fix

Move the lock debug checks below the page reserved checks.  Also, having
debug_check_no_locks_freed in kernel_map_pages is wrong.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
mm/page_alloc.c