Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2007 03:35:22 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132017 for review
Message-ID:  <200712300335.lBU3ZMXw095220@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132017

Change 132017 by jb@jb_freebsd1 on 2007/12/30 03:35:03

	Move the atomic stuff from zfs here.

Affected files ...

.. //depot/projects/dtrace/src/sys/modules/opensolaris/Makefile#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/modules/opensolaris/Makefile#2 (text+ko) ====

@@ -4,8 +4,15 @@
 
 KMOD=		opensolaris
 SRCS=		opensolaris.c		\
-		opensolaris_atomic.c	\
+		opensolaris_cmn_err.c	\
 		opensolaris_kmem.c
+
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
+.PATH:	${.CURDIR}/../../contrib/opensolaris/common/atomic/${MACHINE_ARCH}
+SRCS+=		atomic.S
+.else
+SRCS+=		opensolaris_atomic.c
+.endif
 		
 CFLAGS+=	-I${.CURDIR}/../../compat/opensolaris			\
 		-I${.CURDIR}/../../contrib/opensolaris/uts/common	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712300335.lBU3ZMXw095220>