patch-2.4.23 linux-2.4.23/arch/x86_64/lib/usercopy.c
Next file: linux-2.4.23/arch/x86_64/mm/extable.c
Previous file: linux-2.4.23/arch/x86_64/lib/csum-copy.S
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/x86_64/lib/usercopy.c
- Orig date:
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.22/arch/x86_64/lib/usercopy.c linux-2.4.23/arch/x86_64/lib/usercopy.c
@@ -68,7 +68,7 @@
asm volatile(
" testq %[size8],%[size8]\n"
" jz 4f\n"
- "0: movnti %[zero],(%[dst])\n"
+ "0: movq %[zero],(%[dst])\n"
" addq %[eight],%[dst]\n"
" decl %%ecx ; jnz 0b\n"
"4: movq %[size1],%%rcx\n"
@@ -77,7 +77,7 @@
"1: movb %b[zero],(%[dst])\n"
" incq %[dst]\n"
" decl %%ecx ; jnz 1b\n"
- "2: sfence\n"
+ "2:\n"
".section .fixup,\"ax\"\n"
"3: lea 0(%[size1],%[size8],8),%[size8]\n"
" jmp 2b\n"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)