summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/include/intr.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-07-08 13:37:31 +0000
committerdlg <dlg@openbsd.org>2015-07-08 13:37:31 +0000
commit706f15edab2700abea23666179b98e3d4aca7803 (patch)
tree55ac339b1666d2ebeffb0a248e3708fb46542a63 /sys/arch/sgi/include/intr.h
parentLinking the local socket to pf states went wrong when IPsec was (diff)
downloadwireguard-openbsd-706f15edab2700abea23666179b98e3d4aca7803.tar.xz
wireguard-openbsd-706f15edab2700abea23666179b98e3d4aca7803.zip
unify the mutex implementations on all the mips64 platforms.
this basically copies the sgi implementation to mips64 and removes it from the rest. this way they get an optimised UP mutex implementation and correct asserts on all platforms. ok miod@ jmatthew@
Diffstat (limited to 'sys/arch/sgi/include/intr.h')
-rw-r--r--sys/arch/sgi/include/intr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/intr.h b/sys/arch/sgi/include/intr.h
index 9fb7c95651e..92125694f94 100644
--- a/sys/arch/sgi/include/intr.h
+++ b/sys/arch/sgi/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.43 2013/05/17 19:38:52 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.44 2015/07/08 13:37:31 dlg Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -59,6 +59,8 @@
#define IPL_IPI 8 /* interprocessor interrupt */
#define NIPLS 9 /* Number of levels */
+#define IPL_MPFLOOR IPL_TTY
+
/* Interrupt priority 'flags'. */
#define IPL_MPSAFE 0 /* no "mpsafe" interrupts */