summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-11-02 16:55:31 +0000
committermpi <mpi@openbsd.org>2015-11-02 16:55:31 +0000
commit672eb4ace951384907bd9aa07d78abc47f281f91 (patch)
tree076804a1fc8ddfc934cb254a9bab15457280ce2c
parentAllow rcsnum_free and buf_free to accept NULL and remove various NULL (diff)
downloadwireguard-openbsd-672eb4ace951384907bd9aa07d78abc47f281f91.tar.xz
wireguard-openbsd-672eb4ace951384907bd9aa07d78abc47f281f91.zip
intr_barrier() stub.
ok miod@
-rw-r--r--sys/arch/sparc/include/intr.h4
-rw-r--r--sys/arch/sparc/sparc/intr.c7
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/intr.h b/sys/arch/sparc/include/intr.h
index 8ab4b59ecc4..be1f8489c90 100644
--- a/sys/arch/sparc/include/intr.h
+++ b/sys/arch/sparc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.4 2012/11/05 13:20:16 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.5 2015/11/02 16:55:31 mpi Exp $ */
/* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */
/*
@@ -68,6 +68,8 @@ extern struct intrhand *intrhand[15]; /* XXX obio.c */
void intr_establish(int, struct intrhand *, int, const char *);
void vmeintr_establish(int, int, struct intrhand *, int, const char *);
+void intr_barrier(void *);
+
/*
* intr_fasttrap() is a lot like intr_establish, but is used for ``fast''
* interrupt vectors (vectors that are not shared and are handled in the
diff --git a/sys/arch/sparc/sparc/intr.c b/sys/arch/sparc/sparc/intr.c
index 06ebed3ae83..d7b8b1018da 100644
--- a/sys/arch/sparc/sparc/intr.c
+++ b/sys/arch/sparc/sparc/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.41 2015/09/08 10:21:16 deraadt Exp $ */
+/* $OpenBSD: intr.c,v 1.42 2015/11/02 16:55:31 mpi Exp $ */
/* $NetBSD: intr.c,v 1.20 1997/07/29 09:42:03 fair Exp $ */
/*
@@ -414,6 +414,11 @@ intr_fastuntrap(int level)
}
void
+intr_barrier(void *cookie)
+{
+}
+
+void
softintr_disestablish(void *arg)
{
struct sintrhand *sih = (struct sintrhand *)arg;