aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2009-10-01 15:44:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-01 16:11:12 -0700
commitbf89c8c867322338f3f2b1255f280a3236b61a69 (patch)
tree8a6193d4e0b86851a49ac417cd81dffb95eb925a /mm
parent392d814daf460a9564d29b2cebc51e1ea34e0504 (diff)
downloadkernel_samsung_crespo-bf89c8c867322338f3f2b1255f280a3236b61a69.zip
kernel_samsung_crespo-bf89c8c867322338f3f2b1255f280a3236b61a69.tar.gz
kernel_samsung_crespo-bf89c8c867322338f3f2b1255f280a3236b61a69.tar.bz2
mm/rmap.c: fix comment
The page_address_in_vma() is not only used in unuse_vma(). Signed-off-by: Huang Shijie <shijie8@gmail.com> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/rmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 28aafe2..dd43373 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -242,8 +242,8 @@ vma_address(struct page *page, struct vm_area_struct *vma)
}
/*
- * At what user virtual address is page expected in vma? checking that the
- * page matches the vma: currently only used on anon pages, by unuse_vma;
+ * At what user virtual address is page expected in vma?
+ * checking that the page matches the vma.
*/
unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma)
{