[PATCH] mips: follow the change of split_page()

From: Yoichi Yuasa
Date: Wed Jan 25 2006 - 04:01:02 EST


Hi,

This patch follows the change of split_page().

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

diff -urN -X dontdiff mm3-orig/arch/mips/mm/init.c mm3/arch/mips/mm/init.c
--- mm3-orig/arch/mips/mm/init.c 2006-01-25 17:28:24.574182000 +0900
+++ mm3/arch/mips/mm/init.c 2006-01-25 17:37:48.369417500 +0900
@@ -53,7 +53,8 @@
*/
unsigned long setup_zero_pages(void)
{
- unsigned long order, size;
+ unsigned int order;
+ unsigned long size;
struct page *page;

if (cpu_has_vce)
@@ -66,7 +67,7 @@
panic("Oh boy, that early out of memory?");

page = virt_to_page(empty_zero_page);
- split_page(page);
+ split_page(page, order);
while (page < virt_to_page(empty_zero_page + (PAGE_SIZE << order))) {
SetPageReserved(page);
page++;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/