summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/include/spinlock.h')
-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