summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-26 23:21:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 01:52:09 +0200
commit25ca1d6c02fe1c6d90d918867ef670d323725458 (patch)
treede1709dd1dc7e0b9e9bd91840beb02f12e56b7e0 /mm/util.c
parentmm: add casts to/from gfp_t in gfp_to_alloc_flags() (diff)
downloadlinux-25ca1d6c02fe1c6d90d918867ef670d323725458.tar.xz
linux-25ca1d6c02fe1c6d90d918867ef670d323725458.zip
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 <namhyung@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions