diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 7707187484cc..2e754621d333 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -690,7 +690,7 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb, | |||
690 | continue; | 690 | continue; |
691 | if (!pte_file(ptent)) | 691 | if (!pte_file(ptent)) |
692 | free_swap_and_cache(pte_to_swp_entry(ptent)); | 692 | free_swap_and_cache(pte_to_swp_entry(ptent)); |
693 | pte_clear_full(mm, addr, pte, tlb->fullmm); | 693 | pte_clear_not_present_full(mm, addr, pte, tlb->fullmm); |
694 | } while (pte++, addr += PAGE_SIZE, (addr != end && *zap_work > 0)); | 694 | } while (pte++, addr += PAGE_SIZE, (addr != end && *zap_work > 0)); |
695 | 695 | ||
696 | add_mm_rss(mm, file_rss, anon_rss); | 696 | add_mm_rss(mm, file_rss, anon_rss); |