From owner-cvs-src@FreeBSD.ORG Fri May 28 10:40:43 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5216416A4D0 for ; Fri, 28 May 2004 10:40:43 -0700 (PDT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24F2043D39 for ; Fri, 28 May 2004 10:40:43 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 21595 invoked from network); 28 May 2004 17:40:11 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 May 2004 17:40:11 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i4SHe8Lp029538; Fri, 28 May 2004 13:40:08 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Daniel Eischen Date: Fri, 28 May 2004 13:40:47 -0400 User-Agent: KMail/1.6 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405281340.47011.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: Marius Strobl cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org cc: Mike Makonnen Subject: Re: cvs commit: src/sys/sparc64/include atomic.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 17:40:43 -0000 On Friday 28 May 2004 04:38 am, Daniel Eischen wrote: > On Fri, 28 May 2004, Mike Makonnen wrote: > > On Sat, May 22, 2004 at 02:58:06AM +0200, Marius Strobl wrote: > > > On Fri, May 21, 2004 at 05:52:16PM -0700, Marius Strobl wrote: > > > > marius 2004/05/21 17:52:16 PDT > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: > > > > sys/sparc64/include atomic.h > > > > Log: > > > > Use unsigned types for the arguments of the atomic(9) operations, > > > > like described in the man page and done on all other architectures. > > > > > > This fixes the current build problems of libthr on sparc64 but the > > > libthr code shouldn't rely on the integer-type of enums. > > > > Thanks. I'll change those enums to integers soon (others have suggested > > it as well). It's just that I find them so convenient when debugging. > > And the use of atomic_cmpset_foo() isn't going to work on > 80386 since it doesn't have cmpxchgl. > will try to use cli instead. I'd say just punt and suggest that 80386 machines use libc_r. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org