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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
sh
/
lib
/
checksum.S
diff --git
a/arch/sh/lib/checksum.S
b/arch/sh/lib/checksum.S
index
7c50dfe
..
cbdd0d4
100644
(file)
--- a/
arch/sh/lib/checksum.S
+++ b/
arch/sh/lib/checksum.S
@@
-202,8
+202,9
@@
ENTRY(csum_partial_copy_generic)
cmp/pz r6 ! Jump if we had at least two bytes.
bt/s 1f
clrt
cmp/pz r6 ! Jump if we had at least two bytes.
bt/s 1f
clrt
+ add #2,r6 ! r6 was < 2. Deal with it.
bra 4f
bra 4f
- add #2,r6 ! r6 was < 2. Deal with it.
+ mov r6,r2
3: ! Handle different src and dest alignments.
! This is not common, so simple byte by byte copy will do.
3: ! Handle different src and dest alignments.
! This is not common, so simple byte by byte copy will do.