summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-26 23:22:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 01:52:09 +0200
commite6219ec8195efd5640765e657810f262ad9d1a92 (patch)
tree36c718adce5018fe87398fc7d8ebb7c1dfb14646 /security
parentmm: wrap get_locked_pte() using __cond_lock() (diff)
downloadlinux-e6219ec8195efd5640765e657810f262ad9d1a92.tar.xz
linux-e6219ec8195efd5640765e657810f262ad9d1a92.zip
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 <namhyung@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions