From: Namhyung Kim Date: Tue, 26 Oct 2010 21:21:59 +0000 (-0700) Subject: mm: wrap get_locked_pte() using __cond_lock() X-Git-Tag: v2.6.37-rc1~105^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ca1d6c02fe1c6d90d918867ef670d323725458;p=pandora-kernel.git mm: wrap get_locked_pte() using __cond_lock() The get_locked_pte() conditionally grabs 'ptl' in case of returning non-NULL. This leads sparse to complain about context imbalance. Rename and wrap it using __cond_lock() to make sparse happy. Signed-off-by: Namhyung Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed