patch-1.3.8 linux/arch/i386/lib/checksum.c

Next file: linux/drivers/net/lance.c
Previous file: linux/arch/i386/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.7/linux/arch/i386/lib/checksum.c linux/arch/i386/lib/checksum.c
@@ -180,7 +180,7 @@
 	movw %%cx, (%%edi)
 	leal 2(%%edi), %%edi
 	je 6f
-	shll $16,%%edx
+	shll $16,%%ecx
 5:	movb %%fs:(%%esi), %%cl
 	movb %%cl, (%%edi)
 6:	addl %%ecx, %%eax
@@ -275,7 +275,7 @@
 	movw %%cx, (%%edi)
 	leal 2(%%edi), %%edi
 	je 6f
-	shll $16,%%edx
+	shll $16,%%ecx
 5:	movb (%%esi), %%cl
 	movb %%cl, (%%edi)
 6:	addl %%ecx, %%eax

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this