summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include/spinlock.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>2004-08-06 20:56:04 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>2004-08-06 20:56:04 +0000
commit19482c63002c7cb4a197859fadbdf7ee9c9887e0 (patch)
tree85ac7924361e1b86243cebe50e7cfafcc77b9276 /sys/arch/mips64/include/spinlock.h
parenta3a7bb7b5dfb4c97516ef6cbb7192a26b04aa73d (diff)
initial mips64
Diffstat (limited to 'sys/arch/mips64/include/spinlock.h')
-rw-r--r--sys/arch/mips64/include/spinlock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/mips64/include/spinlock.h b/sys/arch/mips64/include/spinlock.h
new file mode 100644
index 00000000000..3715ad9389c
--- /dev/null
+++ b/sys/arch/mips64/include/spinlock.h
@@ -0,0 +1,10 @@
+/* $OpenBSD: spinlock.h,v 1.1 2004/08/06 20:56:02 pefo Exp $ */
+
+#ifndef _MIPS_SPINLOCK_H_
+#define _MIPS_SPINLOCK_H_
+
+#define _SPINLOCK_UNLOCKED (0)
+#define _SPINLOCK_LOCKED (1)
+typedef int _spinlock_lock_t;
+
+#endif /* !_MIPS_SPINLOCK_H_ */