projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- 2.6.17 port work build breaks, but the patch set is relativly stable
[linux-flexiantxendom0-3.2.10.git]
/
arch
/
sparc64
/
lib
/
checksum.S
diff --git
a/arch/sparc64/lib/checksum.S
b/arch/sparc64/lib/checksum.S
index
ba9cd3c
..
1d230f6
100644
(file)
--- a/
arch/sparc64/lib/checksum.S
+++ b/
arch/sparc64/lib/checksum.S
@@
-165,8
+165,9
@@
csum_partial_end_cruft:
sll %g1, 8, %g1
or %o5, %g1, %o4
-1: add %o2, %o4, %o2
+1: addcc %o2, %o4, %o2
+ addc %g0, %o2, %o2
csum_partial_finish:
retl
- mov %o2, %o0
+ srl %o2, 0, %o0