svn commit: r211722 - head/cddl/lib/libzpool

M. Warner Losh imp at bsdimp.com
Mon Aug 23 23:35:54 UTC 2010


In message: <201008232204.o7NM4UPA054870 at svn.freebsd.org>
            Marius Strobl <marius at freebsd.org> 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...

Warner



More information about the svn-src-all mailing list