patch-2.4.26 linux-2.4.26/arch/x86_64/lib/copy_user.S
Next file: linux-2.4.26/arch/x86_64/lib/csum-copy.S
Previous file: linux-2.4.26/arch/x86_64/lib/copy_page.S
Back to the patch index
Back to the overall index
-  Lines: 21
-  Date:
2004-04-14 06:05:28.000000000 -0700
-  Orig file: 
linux-2.4.25/arch/x86_64/lib/copy_user.S
-  Orig date: 
2003-11-28 10:26:19.000000000 -0800
diff -urN linux-2.4.25/arch/x86_64/lib/copy_user.S linux-2.4.26/arch/x86_64/lib/copy_user.S
@@ -4,6 +4,8 @@
  * Functions to copy from and to user space.		
  */		 
 
+	#include <linux/config.h>
+	
 /* #define FIX_ALIGNMENT 1 */
 
 	#include <asm/current.h>
@@ -59,8 +61,10 @@
 	.globl copy_user_generic	
 	.p2align 4
 copy_user_generic:	
-	prefetch (%rsi)
+	prefetcht0 (%rsi)
+#ifdef CONFIG_MK8
 	prefetchw (%rdi)
+#endif
 	pushq %rbx
 	xorl %eax,%eax		/*zero for the exception handler */
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)