Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf89c8c8 authored by Huang Shijie's avatar Huang Shijie Committed by Linus Torvalds
Browse files

mm/rmap.c: fix comment



The page_address_in_vma() is not only used in unuse_vma().

Signed-off-by: default avatarHuang Shijie <shijie8@gmail.com>
Acked-by: default avatarHugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 392d814d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{