Date: Wed, 9 Apr 2008 01:00:36 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/powerpc/include atomic.h Message-ID: <200804090100.m3910dlQ022039@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2008-04-09 01:00:36 UTC
FreeBSD src repository
Modified files:
sys/powerpc/include atomic.h
Log:
Reimplement atomic_add, atomic_clear, atomic_set and atomic_subtract
so that all implemented variants have proper prototypes. The 8-bit,
16-bit and 64-bit variants are not implemented.
This really fixes the current build breakages caused by type casting
and struct aliasing rules.
Revision Changes Path
1.21 +294 -272 src/sys/powerpc/include/atomic.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804090100.m3910dlQ022039>
