In message: <20100830205814.gf1...@garage.freebsd.pl> Pawel Jakub Dawidek <p...@freebsd.org> writes: : On Mon, Aug 23, 2010 at 05:36:00PM -0600, M. Warner Losh wrote: : > In message: <201008232204.o7nm4upa054...@svn.freebsd.org> : > Marius Strobl <mar...@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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"