patch-2.4.19 linux-2.4.19/arch/alpha/mm/numa.c

Next file: linux-2.4.19/arch/arm/Makefile
Previous file: linux-2.4.19/arch/alpha/mm/init.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/alpha/mm/numa.c linux-2.4.19/arch/alpha/mm/numa.c
@@ -312,7 +312,7 @@
 		printk(".");				\
 } while(0)
 
-#define clobber(p, size) memset((p)->virtual, 0xaa, (size))
+#define clobber(p, size) memset(page_address(p), 0xaa, (size))
 
 void __init mem_stress(void)
 {

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