summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/include/spinlock.h')
-rw-r--r--sys/arch/sparc/include/spinlock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/sparc/include/spinlock.h b/sys/arch/sparc/include/spinlock.h
new file mode 100644
index 00000000000..16e1f34312c
--- /dev/null
+++ b/sys/arch/sparc/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