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 Use only cas versions of 64...



details:   https://anonhg.NetBSD.org/src/rev/01f8ad05feab
branches:  trunk
changeset: 759642:01f8ad05feab
user:      haad <haad%NetBSD.org@localhost>
date:      Tue Dec 14 09:19:14 2010 +0000

description:
Use only cas versions of 64 bit atomic ops.

diffstat:

 external/cddl/osnet/lib/libzpool/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 75bb40865807 -r 01f8ad05feab external/cddl/osnet/lib/libzpool/Makefile
--- a/external/cddl/osnet/lib/libzpool/Makefile Tue Dec 14 09:09:52 2010 +0000
+++ b/external/cddl/osnet/lib/libzpool/Makefile Tue Dec 14 09:19:14 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2010/02/21 01:46:35 darran Exp $
+#      $NetBSD: Makefile,v 1.5 2010/12/14 09:19:14 haad Exp $
 
 .include "${.CURDIR}/../../dist/uts/common/Makefile.files"
 .include "../../Makefile.zfs"
@@ -13,6 +13,7 @@
 DPADD=         ${LIBPTHREAD} ${LIBZ}
 LDADD=         -lpthread -lz
 CPPFLAGS+=     -std=c99
+#CPPFLAGS+=-Wall -Wno-unknown-pragmas
 
 # Local stuff
 SRCS=          kernel.c kernel2.c
@@ -26,7 +27,7 @@
 .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_add.c atomic_dec_64_add.c
+SRCS+= atomic_add_64_cas.c atomic_add_64_nv_cas.c atomic_inc_64_cas.c atomic_dec_64_cas.c
 .endif
 
 print:



Home | Main Index | Thread Index | Old Index