summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2009-10-02 00:44:04 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-02 01:11:12 +0200
commitbf89c8c867322338f3f2b1255f280a3236b61a69 (patch)
tree8a6193d4e0b86851a49ac417cd81dffb95eb925a /mm/rmap.c
parentx86: fix csum_ipv6_magic asm memory clobber (diff)
downloadlinux-bf89c8c867322338f3f2b1255f280a3236b61a69.tar.xz
linux-bf89c8c867322338f3f2b1255f280a3236b61a69.zip
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 '')
-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)
{