Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/lib/libzpool Do not built 64b atomic ops...



details:   https://anonhg.NetBSD.org/src/rev/830fbe012770
branches:  trunk
changeset: 759689:830fbe012770
user:      haad <haad%NetBSD.org@localhost>
date:      Tue Dec 14 23:39:11 2010 +0000

description:
Do not built 64b atomic ops to libzpool they are in libc again.

diffstat:

 external/cddl/osnet/lib/libzpool/Makefile |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r 1fa4248e66c7 -r 830fbe012770 external/cddl/osnet/lib/libzpool/Makefile
--- a/external/cddl/osnet/lib/libzpool/Makefile Tue Dec 14 23:38:30 2010 +0000
+++ b/external/cddl/osnet/lib/libzpool/Makefile Tue Dec 14 23:39:11 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2010/12/14 09:19:14 haad Exp $
+#      $NetBSD: Makefile,v 1.6 2010/12/14 23:39:11 haad Exp $
 
 .include "${.CURDIR}/../../dist/uts/common/Makefile.files"
 .include "../../Makefile.zfs"
@@ -23,13 +23,6 @@
 SRCS+=         ${ZFS_SHARED_OBJS:C/.o$/.c/}
 SRCS+=         taskq.c util.c list.o u8_textprep.o
 
-# Add opensolaris atomic functions and use fakedones if we do not support them
-.if ${MACHINE_ARCH} == "i386"
-CPPFLAGS+=     -D__HAVE_ATOMIC64_OPS   # add NetBSD 64 add operations on i386
-.PATH: ${NETBSDSRCDIR}/common/lib/libc/atomic
-SRCS+= atomic_add_64_cas.c atomic_add_64_nv_cas.c atomic_inc_64_cas.c atomic_dec_64_cas.c
-.endif
-
 print:
        echo ${LIST_SRCS} ${LIST_OBJS}
 



Home | Main Index | Thread Index | Old Index