PERFORCE change 132017 for review

John Birrell jb at FreeBSD.org
Sat Dec 29 19:35:23 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=132017

Change 132017 by jb at 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	\


More information about the p4-projects mailing list