summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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