[MIPS] Use reset_page_mapcount to initialize empty_zero_page usage counter.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
8b36612a23
commit
d981733aaf
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user