summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-06-01 23:18:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-06-01 23:18:25 +0000
commitebbcd751596f9757ece7b39f9ec509b94ee9842f (patch)
tree2b0ff30d0ebdd29b48798a38b9a38074ae632782
parent67026859cc20df000a2c1fbe7b42dde69748b2df (diff)
Use the md atomic code on mips64 instead of the horrid slow code. Should have
been noticed much time ago, but better late than never.
-rw-r--r--lib/libpthread/sys/Makefile.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc
index 32349768de8..7056e455e67 100644
--- a/lib/libpthread/sys/Makefile.inc
+++ b/lib/libpthread/sys/Makefile.inc
@@ -1,13 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.16 2004/08/11 11:11:49 pefo Exp $
+# $OpenBSD: Makefile.inc,v 1.17 2009/06/01 23:18:24 miod Exp $
.PATH: ${SRCDIR}/sys ${SRCDIR}/arch/${MACHINE_ARCH}
SRCS+= uthread_error.c
-.if (${MACHINE_ARCH} == "mips64")
-SRCS+= slow_atomic_lock.c
-.endif
-
.if exists(${SRCDIR}/arch/${MACHINE_ARCH}/_atomic_lock.c)
SRCS+= _atomic_lock.c
.endif