git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
arm
/
lib
/
csumpartial.S
diff --git
a/arch/arm/lib/csumpartial.S
b/arch/arm/lib/csumpartial.S
index
c5515f3
..
cb5e370
100644
(file)
--- a/
arch/arm/lib/csumpartial.S
+++ b/
arch/arm/lib/csumpartial.S
@@
-73,8
+73,7
@@
td3 .req lr
.done: adc r0, sum, #0 @ collect up the last carry
ldr td0, [sp], #4
tst td0, #1 @ check buffer alignment
.done: adc r0, sum, #0 @ collect up the last carry
ldr td0, [sp], #4
tst td0, #1 @ check buffer alignment
- movne td0, r0, lsl #8 @ rotate checksum by 8 bits
- orrne r0, td0, r0, lsr #24
+ movne r0, r0, ror #8 @ rotate checksum by 8 bits
ldr pc, [sp], #4 @ return
.not_aligned: tst buf, #1 @ odd address
ldr pc, [sp], #4 @ return
.not_aligned: tst buf, #1 @ odd address