diff mbox

PA-RISC 2.0 add/sub carry/borrow bug

Message ID 20101227172026.GA25187@hiauly1.hia.nrc.ca (mailing list archive)
State Rejected
Headers show

Commit Message

John David Anglin Dec. 27, 2010, 5:20 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/parisc/include/asm/checksum.h b/arch/parisc/include/asm/checksum.h
index c84b2fc..3efcc33 100644
--- a/arch/parisc/include/asm/checksum.h
+++ b/arch/parisc/include/asm/checksum.h
@@ -140,7 +140,7 @@  static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
 "	ldd,ma		8(%1), %%r19\n"	/* get 1st saddr word */
 "	ldd,ma		8(%2), %%r20\n"	/* get 1st daddr word */
 "	add		%8, %3, %3\n"/* add 16-bit proto + len */
-"	add		%%r19, %0, %0\n"
+"	add,*		%%r19, %0, %0\n"
 "	ldd,ma		8(%1), %%r21\n"	/* 2cd saddr */
 "	ldd,ma		8(%2), %%r22\n"	/* 2cd daddr */
 "	add,dc		%%r20, %0, %0\n"