Skip to content

Commit

Permalink
[MIPS] Use reset_page_mapcount to initialize empty_zero_page usage co…
Browse files Browse the repository at this point in the history
…unter.

    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Dec 1, 2005
1 parent 8b36612 commit d981733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ unsigned long setup_zero_pages(void)
page = virt_to_page(empty_zero_page);
while (page < virt_to_page(empty_zero_page + (PAGE_SIZE << order))) {
set_bit(PG_reserved, &page->flags);
set_page_count(page, 0);
reset_page_mapcount(page);
page++;
}

Expand Down

0 comments on commit d981733

Please sign in to comment.