summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-06-01 23:18:24 +0000
committermiod <miod@openbsd.org>2009-06-01 23:18:24 +0000
commit396d09fecf3975617ac1fd9d7930c82624111aa5 (patch)
tree8061098baf1dc7008c1d8e6a717083acaf26bcae /lib/libpthread
parentA much better atomic lock routine. (diff)
downloadwireguard-openbsd-396d09fecf3975617ac1fd9d7930c82624111aa5.tar.xz
wireguard-openbsd-396d09fecf3975617ac1fd9d7930c82624111aa5.zip
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.
Diffstat (limited to 'lib/libpthread')
-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