commit | d981733aaf970e4537bb8dee9422ee775d92e5ae | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Wed Nov 23 13:49:09 2005 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Dec 01 11:05:13 2005 +0000 |
tree | 537236d2937d4d8a1f2c276cd026c774e656ea5c | |
parent | 8b36612a23fda542fab5f0c6c26e15e2178e3d0e [diff] |
[MIPS] Use reset_page_mapcount to initialize empty_zero_page usage counter. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index f75ab74..3a49036 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c
@@ -68,7 +68,7 @@ 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++; }