I need that to be able to call intr_barrier() in gem(4), ok?
Index: include/intr.h
===================================================================
RCS file: /cvs/src/sys/arch/sparc/include/intr.h,v
retrieving revision 1.4
diff -u -p -r1.4 intr.h
--- include/intr.h 5 Nov 2012 13:20:16 -0000 1.4
+++ include/intr.h 15 Oct 2015 13:47:57 -0000
@@ -68,6 +68,8 @@ extern struct intrhand *intrhand[15]; /
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
Index: sparc/intr.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc/sparc/intr.c,v
retrieving revision 1.41
diff -u -p -r1.41 intr.c
--- sparc/intr.c 8 Sep 2015 10:21:16 -0000 1.41
+++ sparc/intr.c 15 Oct 2015 13:45:54 -0000
@@ -414,6 +414,11 @@ intr_fastuntrap(int level)
}
void
+intr_barrier(void *cookie)
+{
+}
+
+void
softintr_disestablish(void *arg)
{
struct sintrhand *sih = (struct sintrhand *)arg;