patch-2.4.26 linux-2.4.26/arch/x86_64/mm/pageattr.c

Next file: linux-2.4.26/crypto/Config.in
Previous file: linux-2.4.26/arch/x86_64/mm/k8topology.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/arch/x86_64/mm/pageattr.c linux-2.4.26/arch/x86_64/mm/pageattr.c
@@ -52,7 +52,7 @@
 		/* is this worth it? */ 
 		int i;
 		for (i = 0; i < PAGE_SIZE; i += cpu->x86_clflush_size) 
-			asm volatile("clflush %0" :: "m" (address + i)); 
+			asm volatile("clflush (%0)" :: "r" (address + i)); 
 	} else
 		asm volatile("wbinvd":::"memory"); 
 	__flush_tlb_one(address);

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