From: Namhyung Kim Date: Tue, 26 Oct 2010 21:22:00 +0000 (-0700) Subject: mm: add lock release annotation on do_wp_page() X-Git-Tag: v2.6.37-rc1~105^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6219ec8195efd5640765e657810f262ad9d1a92;p=pandora-kernel.git mm: add lock release annotation on do_wp_page() The do_wp_page() releases @ptl but was missing proper annotation. Add it. This removes following warnings from sparse: mm/memory.c:2337:9: warning: context imbalance in 'do_wp_page' - unexpected unlock mm/memory.c:3142:19: warning: context imbalance in 'handle_mm_fault' - different lock contexts for basic block Signed-off-by: Namhyung Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed