summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-12-23 20:52:23 +0000
committermickey <mickey@openbsd.org>2003-12-23 20:52:23 +0000
commit996bd38eb30ac8242c21586b551c93d1db4162b3 (patch)
tree859e80e0b55413eea83bce7686218426e276895a
parentchange the variable name used for status checking, (diff)
downloadwireguard-openbsd-996bd38eb30ac8242c21586b551c93d1db4162b3.tar.xz
wireguard-openbsd-996bd38eb30ac8242c21586b551c93d1db4162b3.zip
do not panic if there is no IPL_IMP
-rw-r--r--sys/dev/pci/pccbb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c
index 9bbb07f4462..c6b01874fae 100644
--- a/sys/dev/pci/pccbb.c
+++ b/sys/dev/pci/pccbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccbb.c,v 1.32 2003/06/25 21:53:45 mickey Exp $ */
+/* $OpenBSD: pccbb.c,v 1.33 2003/12/23 20:52:23 mickey Exp $ */
/* $NetBSD: pccbb.c,v 1.42 2000/06/16 23:41:35 cgd Exp $ */
/*
@@ -1024,8 +1024,10 @@ pccbbintr_function(sc)
s = splclock();
} else if (pil->pil_level == IPL_AUDIO) {
s = splaudio();
+#ifdef IPL_IMP
} else if (pil->pil_level == IPL_IMP) {
s = splimp();
+#endif
} else if (pil->pil_level == IPL_TTY) {
s = spltty();
#if 0