diff options
author | 2013-07-14 15:18:36 +0000 | |
---|---|---|
committer | 2013-07-14 15:18:36 +0000 | |
commit | 147b97e78cc06e6e94d8a678a18d3b5dd3f76d1e (patch) | |
tree | 48e0cf27c278f6676bd62e05fd639bfa0738b504 | |
parent | Fix possible memory/fd leak in the error path. (diff) | |
download | wireguard-openbsd-147b97e78cc06e6e94d8a678a18d3b5dd3f76d1e.tar.xz wireguard-openbsd-147b97e78cc06e6e94d8a678a18d3b5dd3f76d1e.zip |
The "probe" interrupt handler is mpsafe; mark it as such.
ok matthew@
-rw-r--r-- | sys/dev/isa/i82365_isasubr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/isa/i82365_isasubr.c b/sys/dev/isa/i82365_isasubr.c index d27f489baaf..00def7ac105 100644 --- a/sys/dev/isa/i82365_isasubr.c +++ b/sys/dev/isa/i82365_isasubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isasubr.c,v 1.23 2013/03/08 18:35:46 miod Exp $ */ +/* $OpenBSD: i82365_isasubr.c,v 1.24 2013/07/14 15:18:36 kettenis Exp $ */ /* $NetBSD: i82365_isasubr.c,v 1.1 1998/06/07 18:28:31 sommerfe Exp $ */ /* @@ -312,8 +312,9 @@ pcic_intr_find(sc, ist) * change interrupt) we need to do * higher. */ - ih = isa_intr_establish(ic, irq, ist, IPL_VM, - pcic_intr_probe, 0, sc->dev.dv_xname); + ih = isa_intr_establish(ic, irq, ist, + IPL_VM | IPL_MPSAFE, pcic_intr_probe, + 0, sc->dev.dv_xname); if (ih == NULL) continue; pcic_intr_seen = 0; |