commit | c3ee5d2108e71edebad5a21f1b2363b21580c1c4 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Sun Mar 12 08:11:05 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Sun Mar 12 08:11:05 2017 +0000 |
tree | c85ec506a2d2f32ba571870404a13a0537eef912 | |
parent | 6d3ac269d9514eecd41f199a847a064c1836de83 [diff] | |
parent | ef674c5eb8da4ecb028a2a670b0bb1eec9eed004 [diff] |
MIPS: Fix special case in 64 bit IP checksumming. am: ef674c5eb8 Change-Id: I1314700d061976af7208b99d2792f971e3af971f
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h index bce1ce5..0e23197 100644 --- a/arch/mips/include/asm/checksum.h +++ b/arch/mips/include/asm/checksum.h
@@ -186,7 +186,9 @@ " 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)