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

M. Warner Losh imp at bsdimp.com
Mon Aug 30 21:13:09 UTC 2010


In message: <20100830205814.GF1871 at garage.freebsd.pl>
            Pawel Jakub Dawidek <pjd at FreeBSD.org> writes:
: On Mon, Aug 23, 2010 at 05:36:00PM -0600, M. Warner Losh wrote:
: > 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...
: 
: Then you will like @183089 :)

Yea, I have something very similar in my TBEMD branch... :)

Warner


More information about the svn-src-head mailing list