summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-05-17 19:38:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-05-17 19:38:53 +0000
commit23aa67d94df599971e63a34d1b596d5c2dcd7204 (patch)
tree27e040172442ddb70716a9160536fd2e77f23985 /sys/arch/loongson/include
parente4cd83a56a360f734e9ba7092609e5b077e403e6 (diff)
Add a dummy IPL_MPSAFE definition.
ok miod@, mikeb@
Diffstat (limited to 'sys/arch/loongson/include')
-rw-r--r--sys/arch/loongson/include/intr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/intr.h b/sys/arch/loongson/include/intr.h
index 5f806e1afc9..1169eba3a80 100644
--- a/sys/arch/loongson/include/intr.h
+++ b/sys/arch/loongson/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.4 2013/01/15 23:30:36 pirofti Exp $ */
+/* $OpenBSD: intr.h,v 1.5 2013/05/17 19:38:52 kettenis Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -59,6 +59,9 @@
#define IPL_HIGH 7 /* everything */
#define NIPLS 8 /* Number of levels */
+/* Interrupt priority 'flags'. */
+#define IPL_MPSAFE 0 /* no "mpsafe" interrupts */
+
/* Interrupt sharing types. */
#define IST_NONE 0 /* none */
#define IST_PULSE 1 /* pulsed */