summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-06-01 00:51:41 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-06-01 00:51:41 +0000
commitc78b8b4b763386457d0ee0e3bade0494fbf46d7a (patch)
tree624a1d5ef8d4e92f40b62dfc5db8a13cc8dbdf29 /include
parentda05c750d967568b405a196ed62fd41d3b486311 (diff)
Recent reformatting patch broke the constraints of csum_tcpudp_nofold()
resulting bascially in the collapse of TCP.
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips64/checksum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips64/checksum.h b/include/asm-mips64/checksum.h
index bfac60ffe..bec7d4b98 100644
--- a/include/asm-mips64/checksum.h
+++ b/include/asm-mips64/checksum.h
@@ -161,7 +161,7 @@ static inline unsigned long csum_tcpudp_nofold(unsigned long saddr,
"dsrl32\t%0, %0, 0\n\t"
".set\tat"
: "=r" (sum)
- : "r" (daddr), "r"(saddr),
+ : "0" (daddr), "r"(saddr),
#ifdef __MIPSEL__
"r" ((ntohs(len)<<16)+proto*256),
#else