From patchwork Mon Dec 27 17:20:27 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 434821 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBRKCVAG025997 for ; Mon, 27 Dec 2010 20:17:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753772Ab0L0RUb (ORCPT ); Mon, 27 Dec 2010 12:20:31 -0500 Received: from hiauly1.hia.nrc.ca ([132.246.10.84]:2180 "EHLO hiauly1.hia.nrc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753712Ab0L0RUb (ORCPT ); Mon, 27 Dec 2010 12:20:31 -0500 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id BBFAB4E01; Mon, 27 Dec 2010 12:20:27 -0500 (EST) Date: Mon, 27 Dec 2010 12:20:27 -0500 From: John David Anglin To: linux-parisc@vger.kernel.org Subject: PA-RISC 2.0 add/sub carry/borrow bug Message-ID: <20101227172026.GA25187@hiauly1.hia.nrc.ca> Reply-To: John David Anglin MIME-Version: 1.0 Content-Disposition: inline Organization: nrc.ca User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 27 Dec 2010 20:17:09 +0000 (UTC) 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"