summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-09-05 02:40:56 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-09-05 02:40:56 +0000
commitcccbd286e927a6a92e8f7231e57ddd17a243314f (patch)
tree41eff3ba3c242fab3369fa5a3338b606e3212e48 /sys/arch/alpha
parent1fb8297ae3c4f75c7a5d87d15fc92ba8fa2cbbdc (diff)
Move mutex, condvar, and thread-specific data routes, pthread_once, and
pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/spinlock.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/alpha/include/spinlock.h b/sys/arch/alpha/include/spinlock.h
index 688d5837e12..49a7bcef4cc 100644
--- a/sys/arch/alpha/include/spinlock.h
+++ b/sys/arch/alpha/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.2 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: spinlock.h,v 1.3 2017/09/05 02:40:54 guenther Exp $ */
#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_
@@ -7,8 +7,4 @@
#define _ATOMIC_LOCK_LOCKED (1)
typedef int _atomic_lock_t;
-#ifndef _KERNEL
-int _atomic_lock(volatile _atomic_lock_t *);
-#endif
-
#endif