summaryrefslogtreecommitdiffstats
path: root/sys/arch/arm/include
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-12-21 14:56:23 +0000
committerclaudio <claudio@openbsd.org>2010-12-21 14:56:23 +0000
commit8fc84024ea0e2794e47d9aeabdf05e218961a954 (patch)
tree49f94c3a30755a3a83472af24a914f67e202400f /sys/arch/arm/include
parentdon't leak mbuf if padding failes; ok mikeb@ (diff)
downloadwireguard-openbsd-8fc84024ea0e2794e47d9aeabdf05e218961a954.tar.xz
wireguard-openbsd-8fc84024ea0e2794e47d9aeabdf05e218961a954.zip
Convert netisr to a normal soft interrupt instead of hanving MD code
for it. This makes the netisr a real C function which will help further development. No noticable performance change on i386 and amd64. With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r--sys/arch/arm/include/softintr.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/arm/include/softintr.h b/sys/arch/arm/include/softintr.h
index 8d3feb39fba..913c632a69d 100644
--- a/sys/arch/arm/include/softintr.h
+++ b/sys/arch/arm/include/softintr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softintr.h,v 1.4 2009/04/19 18:54:06 oga Exp $ */
+/* $OpenBSD: softintr.h,v 1.5 2010/12/21 14:56:23 claudio Exp $ */
/* $NetBSD: softintr.h,v 1.1 2002/01/29 22:54:14 thorpej Exp $ */
/*
@@ -91,11 +91,6 @@ do { \
mtx_leave(&__siq->siq_mtx); \
} while (/*CONSTCOND*/0)
-/* XXX For legacy software interrupts. */
-extern struct soft_intrhand *softnet_intrhand;
-
-#define setsoftnet() softintr_schedule(softnet_intrhand)
-
#endif /* _KERNEL */
#endif /* _ARM_SOFTINTR_H_ */