diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index b273cc12b15d..0f9abbaf618c 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -798,7 +798,7 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb, | |||
798 | mark_page_accessed(page); | 798 | mark_page_accessed(page); |
799 | file_rss--; | 799 | file_rss--; |
800 | } | 800 | } |
801 | page_remove_rmap(page, vma); | 801 | page_remove_rmap(page); |
802 | if (unlikely(page_mapcount(page) < 0)) | 802 | if (unlikely(page_mapcount(page) < 0)) |
803 | print_bad_pte(vma, addr, ptent, page); | 803 | print_bad_pte(vma, addr, ptent, page); |
804 | tlb_remove_page(tlb, page); | 804 | tlb_remove_page(tlb, page); |
@@ -2023,7 +2023,7 @@ gotten: | |||
2023 | * mapcount is visible. So transitively, TLBs to | 2023 | * mapcount is visible. So transitively, TLBs to |
2024 | * old page will be flushed before it can be reused. | 2024 | * old page will be flushed before it can be reused. |
2025 | */ | 2025 | */ |
2026 | page_remove_rmap(old_page, vma); | 2026 | page_remove_rmap(old_page); |
2027 | } | 2027 | } |
2028 | 2028 | ||
2029 | /* Free the old page.. */ | 2029 | /* Free the old page.. */ |