summaryrefslogtreecommitdiff
path: root/sys/arch/aviion
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-02 21:20:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-02 21:20:18 +0000
commit9ddcf1d8e7bdf80e4736afe986c5f0d16cb79111 (patch)
treeffd0e401591e1839c908e73e29a9fd0714ccdb39 /sys/arch/aviion
parent33a1c5992ce8e30274ef9655d3b65b86658bba62 (diff)
Rework the __mp_lock code to not spin at spllock(), kinda similar to the
x86 __mp_lock changes, but keeping the internal __cpu_simplelock_t to guarantee atomic access to the __mp_lock fields.
Diffstat (limited to 'sys/arch/aviion')
-rw-r--r--sys/arch/aviion/include/mplock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/aviion/include/mplock.h b/sys/arch/aviion/include/mplock.h
new file mode 100644
index 00000000000..4193327f6e6
--- /dev/null
+++ b/sys/arch/aviion/include/mplock.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: mplock.h,v 1.1 2007/12/02 21:20:15 miod Exp $ */
+/* public domain */
+#include <m88k/mplock.h>