From 3f1d7ac8801963474e795f067e6283c3afe99313 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 28 Dec 1995 19:10:29 +0000 Subject: from netbsd; ppp code no longer needs to recalculate intr masks on the i386 --- sys/net/if_ppp.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index db25329fa99..e0f00ebb741 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -87,10 +87,6 @@ #include #include -#ifdef i386 -#include -#endif - #include #include #include @@ -202,18 +198,6 @@ pppattach() bpfattach(&sc->sc_bpf, &sc->sc_if, DLT_PPP, PPP_HDRLEN); #endif } - -#ifdef i386 - /* - * XXX kludge to fix the bug in the i386 interrupt handling code, - * where software interrupts could be taken while hardware - * interrupts were blocked. - */ - if ((imask[IPL_TTY] & SIR_NETMASK) == 0) { - imask[IPL_TTY] |= SIR_NETMASK; - intr_calculatemasks(); - } -#endif } /* -- cgit v1.2.3