summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-01-08 08:25:38 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-01-08 08:25:38 +0000
commit4953d0e707e86726b500ad1e34b245c6d5a6bac1 (patch)
tree61204f7e0a60585d6d8e849ecbf7d620073fdb69 /sys/arch/powerpc
parent0d9afd617d10e557c9e057d5e977d00941908cc7 (diff)
move spinlock.h into the real world
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/spinlock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/powerpc/include/spinlock.h b/sys/arch/powerpc/include/spinlock.h
new file mode 100644
index 00000000000..16e1f34312c
--- /dev/null
+++ b/sys/arch/powerpc/include/spinlock.h
@@ -0,0 +1,10 @@
+/* $OpenBSD: spinlock.h,v 1.1 1999/01/08 08:25:36 d Exp $ */
+
+#ifndef _MACHINE_SPINLOCK_H_
+#define _MACHINE_SPINLOCK_H_
+
+#define _SPINLOCK_UNLOCKED (0)
+#define _SPINLOCK_LOCKED (1)
+typedef int _spinlock_lock_t;
+
+#endif