git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
[sfrench/cifs-2.6.git]
/
arch
/
mips
/
include
/
asm
/
checksum.h
diff --git
a/arch/mips/include/asm/checksum.h
b/arch/mips/include/asm/checksum.h
index 4044eaf989ac7dad0f2094c5d4cfab05ac9fb5c3..0921ddda11a4b353c1c4d754417d3de4d003c12f 100644
(file)
--- a/
arch/mips/include/asm/checksum.h
+++ b/
arch/mips/include/asm/checksum.h
@@
-241,7
+241,8
@@
static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
" .set pop"
: "=&r" (sum), "=&r" (tmp)
: "r" (saddr), "r" (daddr),
- "0" (htonl(len)), "r" (htonl(proto)), "r" (sum));
+ "0" (htonl(len)), "r" (htonl(proto)), "r" (sum)
+ : "memory");
return csum_fold(sum);
}