From owner-svn-src-stable-8@FreeBSD.ORG Mon Dec 14 01:10:05 2009 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AA51106566C; Mon, 14 Dec 2009 01:10:05 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7872A8FC1D; Mon, 14 Dec 2009 01:10:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE1A5EK003330; Mon, 14 Dec 2009 01:10:05 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBE1A5d3003328; Mon, 14 Dec 2009 01:10:05 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <200912140110.nBE1A5d3003328@svn.freebsd.org> From: Marcel Moolenaar Date: Mon, 14 Dec 2009 01:10:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200497 - stable/8/contrib/bind9/lib/isc/ia64/include/isc X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 01:10:05 -0000 Author: marcel Date: Mon Dec 14 01:10:05 2009 New Revision: 200497 URL: http://svn.freebsd.org/changeset/base/200497 Log: MFC rev 200202: Fix Read-After-Write (RAW) dependency violation for ar.ccv in isc_atomic_xadd() and isc_atomic_cmpxchg(). Approved by: dougb@ Modified: stable/8/contrib/bind9/lib/isc/ia64/include/isc/atomic.h Directory Properties: stable/8/contrib/bind9/ (props changed) Modified: stable/8/contrib/bind9/lib/isc/ia64/include/isc/atomic.h ============================================================================== --- stable/8/contrib/bind9/lib/isc/ia64/include/isc/atomic.h Mon Dec 14 01:06:55 2009 (r200496) +++ stable/8/contrib/bind9/lib/isc/ia64/include/isc/atomic.h Mon Dec 14 01:10:05 2009 (r200497) @@ -41,7 +41,7 @@ isc_atomic_xadd(isc_int32_t *p, isc_int3 for (prev = *(volatile isc_int32_t *)p; ; prev = swapped) { swapped = prev + val; __asm__ volatile( - "mov ar.ccv=%2;" + "mov ar.ccv=%2;;" "cmpxchg4.acq %0=%4,%3,ar.ccv" : "=r" (swapped), "=m" (*p) : "r" (prev), "r" (swapped), "m" (*p) @@ -84,7 +84,7 @@ isc_atomic_cmpxchg(isc_int32_t *p, isc_i isc_int32_t ret; __asm__ volatile( - "mov ar.ccv=%2;" + "mov ar.ccv=%2;;" "cmpxchg4.acq %0=%4,%3,ar.ccv" : "=r" (ret), "=m" (*p) : "r" (cmpval), "r" (val), "m" (*p)