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

John Baldwin jhb at
Tue Mar 28 15:31:41 UTC 2006

On Tuesday 28 March 2006 09:34, Dag-Erling Smorgrav wrote:
> des         2006-03-28 14:34:48 UTC
>   FreeBSD src repository
>   Modified files:
>     sys/i386/include     atomic.h 
>   Log:
>   Use wrapper macros for atomic pointer operations in order to perform the
>   correct casts.  This should probably be merged to other architectures.

It should really be uintptr_t rather than u_int.  You can merge it to other
arch's if you wish.  You'd complicate sparc64's atomic.h, but not too much.
It would be nice if you could take the time to make changes to all archs at
once in the future.

John Baldwin <jhb at>  <><
"Power Users Use the Power to Serve"  =

More information about the cvs-src mailing list