From ebbcd751596f9757ece7b39f9ec509b94ee9842f Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 1 Jun 2009 23:18:25 +0000 Subject: 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. --- lib/libpthread/sys/Makefile.inc | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3