patch-2.3.43 linux/include/asm-arm/checksum.h

Next file: linux/include/asm-arm/mmu_context.h
Previous file: linux/include/asm-arm/arch-sa1100/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/asm-arm/checksum.h linux/include/asm-arm/checksum.h
@@ -55,9 +55,9 @@
 	unsigned int sum, tmp1;
 
 	__asm__ __volatile__(
-	"sub	%2, %2, #5		@ ip_fast_csum
-	ldr	%0, [%1], #4
+	"ldr	%0, [%1], #4		@ ip_fast_csum
 	ldr	%3, [%1], #4
+	sub	%2, %2, #5
 	adds	%0, %0, %3
 	ldr	%3, [%1], #4
 	adcs	%0, %0, %3

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