cvs commit: src/sys/sparc64/include atomic.h

Mike Makonnen mtm at identd.net
Fri May 28 01:22:59 PDT 2004


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.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
mtm at FreeBSD.Org| FreeBSD - Unleash the Daemon !


More information about the cvs-src mailing list