diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-26 21:22:00 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 23:52:09 (GMT) |
commit | 1b36ba815bd91f17e31277a44dd5c6b6a5a8d97e (patch) | |
tree | 9d68d66e780c619b01c5d8ddc93e19547b448142 /net/bridge/br_stp.c | |
parent | e6219ec8195efd5640765e657810f262ad9d1a92 (diff) | |
download | linux-fsl-qoriq-1b36ba815bd91f17e31277a44dd5c6b6a5a8d97e.tar.xz |
mm: wrap follow_pte() using __cond_lock()
The follow_pte() conditionally grabs *@ptlp in case of returning 0.
Rename and wrap it using __cond_lock() removes following warnings:
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 'net/bridge/br_stp.c')
0 files changed, 0 insertions, 0 deletions