diff options
author | 2020-07-16 21:49:41 +0000 | |
---|---|---|
committer | 2020-07-16 21:49:41 +0000 | |
commit | 604cf95ee21a83215b603cac1ba7867c6a0f0cfc (patch) | |
tree | a4f57fc616571bf607b44ce55f0a66331472ff01 /sys/dev/pci/if_mcx.c | |
parent | Rewrite loop to match what is written down in the ABI document. (diff) | |
download | wireguard-openbsd-604cf95ee21a83215b603cac1ba7867c6a0f0cfc.tar.xz wireguard-openbsd-604cf95ee21a83215b603cac1ba7867c6a0f0cfc.zip |
Pass the interrupt handler cookie instead of the pointer to it
to intr_barrier(9). Fixes mysterious panics seen while working
on intr_barrier(9) for arm64.
ok jmatthew@
Diffstat (limited to 'sys/dev/pci/if_mcx.c')
-rw-r--r-- | sys/dev/pci/if_mcx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c index feb3d8f5cd7..bb2813d7884 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.67 2020/07/16 05:45:03 jmatthew Exp $ */ +/* $OpenBSD: if_mcx.c,v 1.68 2020/07/16 21:49:41 patrick Exp $ */ /* * Copyright (c) 2017 David Gwynne <dlg@openbsd.org> @@ -6972,7 +6972,7 @@ mcx_down(struct mcx_softc *sc) timeout_del_barrier(&sc->sc_queues[i].q_rx.rx_refill); - intr_barrier(&sc->sc_queues[i].q_ihc); + intr_barrier(sc->sc_queues[i].q_ihc); } timeout_del_barrier(&sc->sc_calibrate); |