diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-11-23 14:49:09 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-12-01 12:05:13 +0100 |
commit | d981733aaf970e4537bb8dee9422ee775d92e5ae (patch) | |
tree | 537236d2937d4d8a1f2c276cd026c774e656ea5c | |
parent | [MIPS] R10000 and R12000 need to set MIPS_CPU_4K_CACHE ... (diff) | |
download | linux-d981733aaf970e4537bb8dee9422ee775d92e5ae.tar.xz linux-d981733aaf970e4537bb8dee9422ee775d92e5ae.zip |
[MIPS] Use reset_page_mapcount to initialize empty_zero_page usage counter.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index f75ab748e8cd..3a49036e0ae8 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c @@ -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++; } |