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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch follows the change of split_page().

Yoichi

Signed-off-by: Yoichi Yuasa <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux