cvs commit: src/sys/i386/include atomic.h
Dag-Erling Smørgrav
des at des.no
Tue Mar 28 17:30:27 UTC 2006
John Baldwin <jhb at freebsd.org> writes:
> On Tuesday 28 March 2006 09:34, Dag-Erling Smorgrav wrote:
> > 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.
I realize that, but I wasn't sure I could safely assume that uintptr_t
is defined - and by definition, at this point in the code, we know
that u_int is compatible with a pointer.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list