summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/checksum.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
commit529c593ece216e4aaffd36bd940cb94f1fa63129 (patch)
tree78f1c0b805f5656aa7b0417a043c5346f700a2cf /include/asm-arm/checksum.h
parent0bd079751d25808d1972baee5c4eaa1db2227257 (diff)
Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c
driver due to the Origin A64 hacks.
Diffstat (limited to 'include/asm-arm/checksum.h')
-rw-r--r--include/asm-arm/checksum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/checksum.h b/include/asm-arm/checksum.h
index 5f1e0f695..9d048a3ba 100644
--- a/include/asm-arm/checksum.h
+++ b/include/asm-arm/checksum.h
@@ -55,9 +55,9 @@ ip_fast_csum(unsigned char * iph, unsigned int ihl)
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