diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-13 20:07:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-13 20:07:28 -0400 |
commit | 45d447406a19cbfd42720f066f156f4eb9d68801 (patch) | |
tree | 57a2224dea60dfcc6ff58130230f2ffa48bbe01a /arch/xtensa/include/asm/checksum.h | |
parent | 210af919c949a7d6bd330916ef376cec2907d81e (diff) | |
parent | 78f3cdfa2ac0aa2b72b3ee7e4b3c3e550230179f (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6:
xtensa: Fix linker script to include .literal sections
xtensa: update s6105_defconfig for ccount calibration
xtensa: implement ccount calibration for s6000
xtensa: fix wrong extern declaration renamed in code using it
xtensa: register gpio chip before use
xtensa: always use correct stack pointer for stack traces
xtensa: Fix checksum header file
xtensa: Fix architecture specific Kconfig
Diffstat (limited to 'arch/xtensa/include/asm/checksum.h')
-rw-r--r-- | arch/xtensa/include/asm/checksum.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/checksum.h b/arch/xtensa/include/asm/checksum.h index f84d3f00774a..e4d831a30772 100644 --- a/arch/xtensa/include/asm/checksum.h +++ b/arch/xtensa/include/asm/checksum.h | |||
@@ -113,7 +113,8 @@ static __inline__ __sum16 ip_fast_csum(const void *iph, unsigned int ihl) | |||
113 | are modified, we must also specify them as outputs, or gcc | 113 | are modified, we must also specify them as outputs, or gcc |
114 | will assume they contain their original values. */ | 114 | will assume they contain their original values. */ |
115 | : "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp), "=&r" (endaddr) | 115 | : "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp), "=&r" (endaddr) |
116 | : "1" (iph), "2" (ihl)); | 116 | : "1" (iph), "2" (ihl) |
117 | : "memory"); | ||
117 | 118 | ||
118 | return csum_fold(sum); | 119 | return csum_fold(sum); |
119 | } | 120 | } |
@@ -227,7 +228,8 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, | |||
227 | "1:\t" | 228 | "1:\t" |
228 | : "=r" (sum), "=&r" (__dummy) | 229 | : "=r" (sum), "=&r" (__dummy) |
229 | : "r" (saddr), "r" (daddr), | 230 | : "r" (saddr), "r" (daddr), |
230 | "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)); | 231 | "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) |
232 | : "memory"); | ||
231 | 233 | ||
232 | return csum_fold(sum); | 234 | return csum_fold(sum); |
233 | } | 235 | } |