mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
MIPS: Fix special case in 64 bit IP checksumming.
am: ef674c5eb8
Change-Id: I1314700d061976af7208b99d2792f971e3af971f
This commit is contained in:
@@ -186,7 +186,9 @@ static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
|
||||
" 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)
|
||||
|
||||
Reference in New Issue
Block a user