summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-05-04 02:25:00 +0000
committerimp <imp@FreeBSD.org>2004-05-04 02:25:00 +0000
commit26c98d4eb0576bf4c2c2f94fbc23fbd1a6097719 (patch)
tree1a7c42169f1bfc17d769620322d36a041ce7829c /sys/dev/pccbb
parentff404935e298035e368a30eaca5828f456172f23 (diff)
downloadFreeBSD-src-26c98d4eb0576bf4c2c2f94fbc23fbd1a6097719.zip
FreeBSD-src-26c98d4eb0576bf4c2c2f94fbc23fbd1a6097719.tar.gz
Need to mark the interrupt from cbb as being MP safe on resume too.
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index 527cef9..c57ed87 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -2057,8 +2057,8 @@ cbb_resume(device_t self)
cbb_set(sc, CBB_SOCKET_EVENT, tmp);
/* re-establish the interrupt. */
- if (bus_setup_intr(self, sc->irq_res, INTR_TYPE_AV, cbb_intr, sc,
- &sc->intrhand)) {
+ if (bus_setup_intr(self, sc->irq_res, INTR_TYPE_AV | INTR_MPSAFE,
+ cbb_intr, sc, &sc->intrhand)) {
device_printf(self, "couldn't re-establish interrupt");
bus_release_resource(self, SYS_RES_IRQ, 0, sc->irq_res);
bus_release_resource(self, SYS_RES_MEMORY, CBBR_SOCKBASE,
OpenPOWER on IntegriCloud