projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v3.10.107' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
mips
/
include
/
asm
/
checksum.h
diff --git
a/arch/mips/include/asm/checksum.h
b/arch/mips/include/asm/checksum.h
index ac3d2b8a20d4bfa483fcb55d57e92670c2c08dd2..d48cf440010cefedd18a114aa637f2ee1c84e816 100644
(file)
--- a/
arch/mips/include/asm/checksum.h
+++ b/
arch/mips/include/asm/checksum.h
@@
-155,7
+155,9
@@
static inline __wsum csum_tcpudp_nofold(__be32 saddr,
" daddu %0, %4 \n"
" dsll32 $1, %0, 0 \n"
" daddu %0, $1 \n"
+ " sltu $1, %0, $1 \n"
" dsra32 %0, %0, 0 \n"
+ " addu %0, $1 \n"
#endif
" .set pop"
: "=r" (sum)