From: Wang Sheng-Hui Date: Tue, 10 Jan 2012 23:08:22 +0000 (-0800) Subject: mm/migrate.c: cleanup comment for migration_entry_wait() X-Git-Tag: v3.3-rc1~113^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=564c81db19f3630f53a14bbceb7b85eb9660ded3;p=platform%2Fkernel%2Flinux-3.10.git mm/migrate.c: cleanup comment for migration_entry_wait() migration_entry_wait() can also be called from hugetlb_fault() now. Remove the incorrect comment. Signed-off-by: Wang Sheng-Hui Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/migrate.c b/mm/migrate.c index 594dc37..670bb89 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -181,8 +181,6 @@ static void remove_migration_ptes(struct page *old, struct page *new) * Something used the pte of a page under migration. We need to * get to the page and wait until migration is finished. * When we return from this function the fault will be retried. - * - * This function is called from do_swap_page(). */ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, unsigned long address)