summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-28 19:10:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-28 19:10:29 +0000
commit3f1d7ac8801963474e795f067e6283c3afe99313 (patch)
tree5472f73d744da2bc0e8ff9ca3f83885d35a07d40
parenta127415b8670e51724f2441727ba79863bc2d797 (diff)
from netbsd; ppp code no longer needs to recalculate intr masks on the i386
-rw-r--r--sys/net/if_ppp.c16
1 files changed, 0 insertions, 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 <sys/ioctl.h>
#include <sys/kernel.h>
-#ifdef i386
-#include <machine/psl.h>
-#endif
-
#include <net/if.h>
#include <net/if_types.h>
#include <net/netisr.h>
@@ -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
}
/*