summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-09-13 20:38:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-09-13 20:38:46 +0000
commit87b2c2d9d49711719bea9b779973c3303e3df034 (patch)
tree41ae0d87dae1456d88db64dd50866039f2ff4576 /sys/arch/mips64
parentb74305af1378da5b206dfbe717c5569f3903fb31 (diff)
intr_barrier(9) for loongson, octeon and sgi.
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/mips64/interrupt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/mips64/mips64/interrupt.c b/sys/arch/mips64/mips64/interrupt.c
index 821f7fb71af..0ae3daf5ea1 100644
--- a/sys/arch/mips64/mips64/interrupt.c
+++ b/sys/arch/mips64/mips64/interrupt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interrupt.c,v 1.64 2014/09/30 06:51:58 jmatthew Exp $ */
+/* $OpenBSD: interrupt.c,v 1.65 2015/09/13 20:38:45 kettenis Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -191,6 +191,12 @@ set_intr(int pri, uint32_t mask,
}
void
+intr_barrier(void *cookie)
+{
+ sched_barrier(NULL);
+}
+
+void
dummy_splx(int newcpl)
{
/* Dummy handler */