diff options
| author | 2010-12-21 14:56:23 +0000 | |
|---|---|---|
| committer | 2010-12-21 14:56:23 +0000 | |
| commit | 8fc84024ea0e2794e47d9aeabdf05e218961a954 (patch) | |
| tree | 49f94c3a30755a3a83472af24a914f67e202400f /sys/kern/init_main.c | |
| parent | don't leak mbuf if padding failes; ok mikeb@ (diff) | |
| download | wireguard-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/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 34beffbe642..61805f1e16c 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.171 2010/09/08 14:15:56 jsing Exp $ */ +/* $OpenBSD: init_main.c,v 1.172 2010/12/21 14:56:24 claudio Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -89,6 +89,7 @@ #include <net/if.h> #include <net/raw_cb.h> +#include <net/netisr.h> #if defined(CRYPTO) #include <crypto/cryptodev.h> @@ -396,6 +397,7 @@ main(void *framep) * until everything is ready. */ s = splnet(); + netisr_init(); domaininit(); if_attachdomain(); splx(s); |
