projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b36612
)
[MIPS] Use reset_page_mapcount to initialize empty_zero_page usage counter.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 23 Nov 2005 13:49:09 +0000
(13:49 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 1 Dec 2005 11:05:13 +0000
(11:05 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/mips/mm/init.c
b/arch/mips/mm/init.c
index f75ab748e8cd3dc86dc1886f8858bb37958a7e56..3a49036e0ae8f378056e46c88689276dda9035bb 100644
(file)
--- 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++;
}