On Mon, Aug 23, 2010 at 05:36:00PM -0600, M. Warner Losh wrote: > In message: <[email protected]> > Marius Strobl <[email protected]> writes: > : Author: marius > : Date: Mon Aug 23 22:04:30 2010 > : New Revision: 211722 > : URL: http://svn.freebsd.org/changeset/base/211722 > : > : Log: > : Use real atomic operations for sparc64. > : > : MFC after: 1 week > : > : Modified: > : head/cddl/lib/libzpool/Makefile > : > : Modified: head/cddl/lib/libzpool/Makefile > : > ============================================================================== > : --- head/cddl/lib/libzpool/Makefile Mon Aug 23 21:40:03 2010 > (r211721) > : +++ head/cddl/lib/libzpool/Makefile Mon Aug 23 22:04:30 2010 > (r211722) > : @@ -11,7 +11,7 @@ > : # LIST_SRCS > : .PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/os > : # ATOMIC_SRCS > : -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || > ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "powerpc64" > : +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || > ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} > == "powerpc64" > : .PATH: > ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH} > : ATOMIC_SRCS= opensolaris_atomic.S > : .else > > I find it disturbing that we have 3 or 4 copies of this code in our > Makefiles...
Then you will like @183089 :) -- Pawel Jakub Dawidek http://www.wheelsystems.com [email protected] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpw4DgwSjoiw.pgp
Description: PGP signature
