summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2013-07-02 09:24:37 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2013-07-02 09:24:37 +0000
commit723e6b70e36bd27fd4301231675074ab4accb526 (patch)
treec8839ca3eb38dbbaf1f57bce68fc32eece1eb5d1 /sys/dev/pci
parent2b96ca6cdce17dc044c4dd8880f52a2f0f59844e (diff)
Lower IPL to IPL_BIO for the interrupt.
There is no reason to use IPL_VM and it breaks with the recent IPL_MPSAFE changes. discussed with kettenis@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/viomb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/viomb.c b/sys/dev/pci/viomb.c
index d5acf09a01e..d564af73976 100644
--- a/sys/dev/pci/viomb.c
+++ b/sys/dev/pci/viomb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viomb.c,v 1.3 2013/03/28 04:12:12 deraadt Exp $ */
+/* $OpenBSD: viomb.c,v 1.4 2013/07/02 09:24:36 sf Exp $ */
/* $NetBSD: viomb.c,v 1.1 2011/10/30 12:12:21 hannken Exp $ */
/*
* Copyright (c) 2012 Talypov Dinar <dinar@i-nk.ru>
@@ -153,7 +153,7 @@ viomb_attach(struct device *parent, struct device *self, void *aux)
vsc->sc_vqs = &sc->sc_vq[VQ_INFLATE];
vsc->sc_nvqs = 0;
vsc->sc_child = self;
- vsc->sc_ipl = IPL_VM;
+ vsc->sc_ipl = IPL_BIO;
vsc->sc_config_change = viomb_config_change;
vsc->sc_intrhand = virtio_vq_intr;
@@ -198,7 +198,7 @@ viomb_attach(struct device *parent, struct device *self, void *aux)
goto err_dmamap;
}
- viomb_workq = workq_create("viomb", 1, IPL_VM);
+ viomb_workq = workq_create("viomb", 1, IPL_BIO);
if (viomb_workq == NULL)
goto err_dmamap;
printf("\n");