patch-2.4.22 linux-2.4.22/arch/mips/mips-boards/generic/memory.c

Next file: linux-2.4.22/arch/mips/mips-boards/generic/pci.c
Previous file: linux-2.4.22/arch/mips/mips-boards/generic/init.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/mips-boards/generic/memory.c linux-2.4.22/arch/mips/mips-boards/generic/memory.c
@@ -168,7 +168,7 @@
 			      + boot_mem_map.map[i].size) {
 			ClearPageReserved(virt_to_page(__va(addr)));
 			set_page_count(virt_to_page(__va(addr)), 1);
-			free_page(__va(addr));
+			free_page((unsigned long)__va(addr));
 			addr += PAGE_SIZE;
 			freed += PAGE_SIZE;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)