summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2019-06-11 06:28:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2019-06-11 06:28:10 +0000
commit17e9b3bf244c9eaf2e162921bad659d7a10cbe13 (patch)
treeb749e3127c7f38ae591bb7b0dd1c2e0dec2ccf63 /sys
parent39a9e1cc5c9177cdf43d2a4f9a4825f9a384656f (diff)
pass what pci_intr_established returns to intr_barrier
passing a pointer to a pci_intr_handle_t doesnt work too well on sparc64, where it faults in the guts of the scheduler. dunno why amd64 is fine. ok jmatthew@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_mcx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c
index 90d9c4d1baf..fba4c01a6a0 100644
--- a/sys/dev/pci/if_mcx.c
+++ b/sys/dev/pci/if_mcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mcx.c,v 1.25 2019/06/11 06:17:23 dlg Exp $ */
+/* $OpenBSD: if_mcx.c,v 1.26 2019/06/11 06:28:09 dlg Exp $ */
/*
* Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
@@ -6028,7 +6028,7 @@ mcx_down(struct mcx_softc *sc)
}
}
- intr_barrier(&sc->sc_ih);
+ intr_barrier(sc->sc_ihc);
ifq_barrier(&ifp->if_snd);
timeout_del_barrier(&sc->sc_calibrate);