Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144918
b: refs/heads/master
c: 7dbe5c5
h: refs/heads/master
v: v3
  • Loading branch information
Chris Zankel committed May 12, 2009
1 parent 92e3732 commit 775e49c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 35e71f90687fd904b43e3427673827ac3e77b4d1
refs/heads/master: 7dbe5c542464a511f0ea6a14e3ff08874d7e21d5
6 changes: 4 additions & 2 deletions trunk/arch/xtensa/include/asm/checksum.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ static __inline__ __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
are modified, we must also specify them as outputs, or gcc
will assume they contain their original values. */
: "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp), "=&r" (endaddr)
: "1" (iph), "2" (ihl));
: "1" (iph), "2" (ihl)
: "memory");

return csum_fold(sum);
}
Expand Down Expand Up @@ -227,7 +228,8 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
"1:\t"
: "=r" (sum), "=&r" (__dummy)
: "r" (saddr), "r" (daddr),
"r" (htonl(len)), "r" (htonl(proto)), "0" (sum));
"r" (htonl(len)), "r" (htonl(proto)), "0" (sum)
: "memory");

return csum_fold(sum);
}
Expand Down

0 comments on commit 775e49c

Please sign in to comment.