summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-10-15 13:03:12 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-10-15 13:03:12 +0000
commitb504f5abdeb5375620ac138e851d152e67606599 (patch)
tree1b21e3409b5819e2a356008c3580016113521e0d /lib
parent8e0d1e2ec328ca519830c7aa0ca878fdf5b33cbb (diff)
Switch powerpc to futex(2) based condvars, mutexes and semaphores.
From Brad, OK mpi@ kettenis@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/thread/Makefile.inc4
-rw-r--r--lib/librthread/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/thread/Makefile.inc b/lib/libc/thread/Makefile.inc
index a46221808f9..bd53875baa6 100644
--- a/lib/libc/thread/Makefile.inc
+++ b/lib/libc/thread/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.16 2018/09/24 11:25:09 jsg Exp $
+# $OpenBSD: Makefile.inc,v 1.17 2018/10/15 13:03:11 visa Exp $
.PATH: ${LIBCSRCDIR}/thread
@@ -22,7 +22,7 @@ notyet= rthread_condattr_clock.c \
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \
- ${MACHINE_ARCH} == "sparc64"
+ ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
CFLAGS+= -DFUTEX
SRCS+= rthread_mutex.c \
rthread_cond.c
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
index c7d96c91ec2..4f2474f0042 100644
--- a/lib/librthread/Makefile
+++ b/lib/librthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.51 2018/09/24 11:25:09 jsg Exp $
+# $OpenBSD: Makefile,v 1.52 2018/10/15 13:03:11 visa Exp $
LIB=pthread
LIBCSRCDIR= ${.CURDIR}/../libc
@@ -39,7 +39,7 @@ SRCS= rthread.c \
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \
- ${MACHINE_ARCH} == "sparc64"
+ ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
SRCS+= rthread_sem.c
.else
SRCS+= rthread_sem_compat.c