aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Shijie2009-10-01 15:44:04 -0700
committerLinus Torvalds2009-10-01 16:11:12 -0700
commitbf89c8c867322338f3f2b1255f280a3236b61a69 (patch)
tree8a6193d4e0b86851a49ac417cd81dffb95eb925a
parent392d814daf460a9564d29b2cebc51e1ea34e0504 (diff)
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>
-rw-r--r--mm/rmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 28aafe2b5306..dd43373a483f 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)
{