From owner-cvs-src-old@FreeBSD.ORG Fri Oct 9 15:52:31 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906C31065672 for ; Fri, 9 Oct 2009 15:52:31 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7E26D8FC18 for ; Fri, 9 Oct 2009 15:52:31 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n99FqVKr065515 for ; Fri, 9 Oct 2009 15:52:31 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n99FqVkU065514 for cvs-src-old@freebsd.org; Fri, 9 Oct 2009 15:52:31 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <200910091552.n99FqVkU065514@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Fri, 9 Oct 2009 15:51:40 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/include atomic.h src/sys/i386/include atomic.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 15:52:31 -0000 attilio 2009-10-09 15:51:40 UTC FreeBSD src repository Modified files: sys/amd64/include atomic.h sys/i386/include atomic.h Log: SVN rev 197910 on 2009-10-09 15:51:40Z by attilio atomic_cmpset_barr_* was added in order to cope with compilers willing to specify their own version of atomic_cmpset_* which could have been different than the membar version. Right now, however, FreeBSD is bound mostly to GCC-like compilers and it is desired to add new support and compat shim mostly when there is a real necessity, in order to avoid too much compatibility bloats. In this optic, bring back atomic_cmpset_{acq, rel}_* to be the same as atomic_cmpset_* and unwind the atomic_cmpset_barr_* introduction. Requested by: jhb Reviewed by: jhb Tested by: Giovanni Trematerra Revision Changes Path 1.49 +44 -32 src/sys/amd64/include/atomic.h 1.54 +48 -64 src/sys/i386/include/atomic.h