Namhyung Kim 1b36ba815b 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>
2010-10-26 16:52:09 -07:00
..
2009-04-01 08:59:13 -07:00
2010-10-26 16:52:08 -07:00
2010-08-08 21:57:23 +01:00
2010-10-04 11:09:53 -07:00
2009-09-22 07:17:35 -07:00
2010-05-25 08:06:58 -07:00
2010-09-09 09:05:06 -07:00
2010-03-24 16:31:21 -07:00
2010-10-26 16:52:08 -07:00
2010-05-21 18:31:21 -04:00
2010-08-21 08:49:21 -07:00
2010-05-25 08:07:00 -07:00
2010-10-06 21:16:42 +03:00
2010-05-25 15:06:06 +02:00
2009-06-23 12:50:05 -07:00
2010-10-24 10:51:24 +02:00