summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/include/spinlock.h')
-rw-r--r--sys/arch/amd64/include/spinlock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/amd64/include/spinlock.h b/sys/arch/amd64/include/spinlock.h
new file mode 100644
index 00000000000..be9e806ff5e
--- /dev/null
+++ b/sys/arch/amd64/include/spinlock.h
@@ -0,0 +1,10 @@
+/* $OpenBSD: spinlock.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */
+
+#ifndef _MACHINE_SPINLOCK_H_
+#define _MACHINE_SPINLOCK_H_
+
+#define _SPINLOCK_UNLOCKED (0)
+#define _SPINLOCK_LOCKED (1)
+typedef int _spinlock_lock_t;
+
+#endif