summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/spinlock.h6
-rw-r--r--sys/arch/amd64/include/spinlock.h6
-rw-r--r--sys/arch/arm/include/spinlock.h6
-rw-r--r--sys/arch/arm64/include/spinlock.h6
-rw-r--r--sys/arch/hppa/include/spinlock.h6
-rw-r--r--sys/arch/i386/include/spinlock.h6
-rw-r--r--sys/arch/m88k/include/spinlock.h6
-rw-r--r--sys/arch/mips64/include/spinlock.h6
-rw-r--r--sys/arch/powerpc/include/spinlock.h6
-rw-r--r--sys/arch/sh/include/spinlock.h6
-rw-r--r--sys/arch/sparc64/include/spinlock.h6
11 files changed, 11 insertions, 55 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
diff --git a/sys/arch/amd64/include/spinlock.h b/sys/arch/amd64/include/spinlock.h
index 688d5837e12..49a7bcef4cc 100644
--- a/sys/arch/amd64/include/spinlock.h
+++ b/sys/arch/amd64/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
diff --git a/sys/arch/arm/include/spinlock.h b/sys/arch/arm/include/spinlock.h
index e8a52d59f17..0334b8b0061 100644
--- a/sys/arch/arm/include/spinlock.h
+++ b/sys/arch/arm/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 _ARM_SPINLOCK_H_
#define _ARM_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
diff --git a/sys/arch/arm64/include/spinlock.h b/sys/arch/arm64/include/spinlock.h
index 7a55e4831d0..6b631b6818f 100644
--- a/sys/arch/arm64/include/spinlock.h
+++ b/sys/arch/arm64/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ */
+/* $OpenBSD: spinlock.h,v 1.2 2017/09/05 02:40:54 guenther Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
*
@@ -22,8 +22,4 @@
#define _ATOMIC_LOCK_LOCKED (1)
typedef int _atomic_lock_t;
-#ifndef _KERNEL
-int _atomic_lock(volatile _atomic_lock_t *);
-#endif
-
#endif
diff --git a/sys/arch/hppa/include/spinlock.h b/sys/arch/hppa/include/spinlock.h
index 6ce31ca3e95..c1082e5d027 100644
--- a/sys/arch/hppa/include/spinlock.h
+++ b/sys/arch/hppa/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.4 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: spinlock.h,v 1.5 2017/09/05 02:40:54 guenther Exp $ */
#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_
@@ -7,8 +7,4 @@
#define _ATOMIC_LOCK_LOCKED (0)
typedef long _atomic_lock_t __attribute__((__aligned__(16)));
-#ifndef _KERNEL
-int _atomic_lock(volatile _atomic_lock_t *);
-#endif
-
#endif
diff --git a/sys/arch/i386/include/spinlock.h b/sys/arch/i386/include/spinlock.h
index 688d5837e12..49a7bcef4cc 100644
--- a/sys/arch/i386/include/spinlock.h
+++ b/sys/arch/i386/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
diff --git a/sys/arch/m88k/include/spinlock.h b/sys/arch/m88k/include/spinlock.h
index c4dfcedb5ba..61a9d2d73ad 100644
--- a/sys/arch/m88k/include/spinlock.h
+++ b/sys/arch/m88k/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 _M88K_SPINLOCK_H_
#define _M88K_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
diff --git a/sys/arch/mips64/include/spinlock.h b/sys/arch/mips64/include/spinlock.h
index 766e8fd1523..319144586f4 100644
--- a/sys/arch/mips64/include/spinlock.h
+++ b/sys/arch/mips64/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.4 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: spinlock.h,v 1.5 2017/09/05 02:40:54 guenther Exp $ */
/* Public domain */
#ifndef _MIPS64_SPINLOCK_H_
@@ -8,8 +8,4 @@
#define _ATOMIC_LOCK_LOCKED (1)
typedef int _atomic_lock_t;
-#ifndef _KERNEL
-int _atomic_lock(volatile _atomic_lock_t *);
-#endif
-
#endif /* !_MIPS64_SPINLOCK_H_ */
diff --git a/sys/arch/powerpc/include/spinlock.h b/sys/arch/powerpc/include/spinlock.h
index 95a1271fd62..e41f60075d3 100644
--- a/sys/arch/powerpc/include/spinlock.h
+++ b/sys/arch/powerpc/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.3 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: spinlock.h,v 1.4 2017/09/05 02:40:54 guenther Exp $ */
#ifndef _POWERPC_SPINLOCK_H_
#define _POWERPC_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
diff --git a/sys/arch/sh/include/spinlock.h b/sys/arch/sh/include/spinlock.h
index da4da4a299e..fbdba964685 100644
--- a/sys/arch/sh/include/spinlock.h
+++ b/sys/arch/sh/include/spinlock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spinlock.h,v 1.5 2013/06/04 04:27:57 miod Exp $ */
+/* $OpenBSD: spinlock.h,v 1.6 2017/09/05 02:40:54 guenther Exp $ */
/* $NetBSD: lock.h,v 1.10 2006/01/03 01:29:46 uwe Exp $ */
/*-
@@ -39,10 +39,6 @@
typedef unsigned char _atomic_lock_t;
-#ifndef _KERNEL
-int _atomic_lock(volatile _atomic_lock_t *);
-#endif
-
#define _ATOMIC_LOCK_LOCKED 0x80
#define _ATOMIC_LOCK_UNLOCKED 0x00
diff --git a/sys/arch/sparc64/include/spinlock.h b/sys/arch/sparc64/include/spinlock.h
index 89a19f128d0..e1eb60c25d7 100644
--- a/sys/arch/sparc64/include/spinlock.h
+++ b/sys/arch/sparc64/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 (0xFF)
typedef unsigned char _atomic_lock_t;
-#ifndef _KERNEL
-int _atomic_lock(volatile _atomic_lock_t *);
-#endif
-
#endif