patch-2.4.0-test9 linux/arch/sh/mm/init.c

Next file: linux/arch/sh/vmlinux.lds.S
Previous file: linux/arch/sh/mm/fault.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/sh/mm/init.c linux/arch/sh/mm/init.c
@@ -241,6 +241,7 @@
 
 	/* clear the zero-page */
 	memset(empty_zero_page, 0, PAGE_SIZE);
+	flush_page_to_ram(virt_to_page(empty_zero_page));
 
 	/* this will put all low memory onto the freelists */
 	totalram_pages += free_all_bootmem();

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