diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-10-24 07:20:13 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-10-24 07:20:13 +0000 |
| commit | d2bda4e0323c7eb2651340ed41a071fa588e25a4 (patch) | |
| tree | 07a8789e6f93c6446c850fa8b1f7acba4143a175 /sys | |
| parent | 3a988c5c870dbe28f41c5bb4b36a245220b491e6 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/pccbb/pccbb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index 27a7fb1fbcca0..fb9926f9ebb94 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -1162,10 +1162,10 @@ cbb_intr(void *arg) */ if (sc->flags & CBB_CARD_OK) { STAILQ_FOREACH(ih, &sc->intr_handlers, entries) { - if ((ih->flags & INTR_MPSAFE) != 0) + if ((ih->flags & INTR_MPSAFE) == 0) mtx_lock(&Giant); (*ih->intr)(ih->arg); - if ((ih->flags & INTR_MPSAFE) != 0) + if ((ih->flags & INTR_MPSAFE) == 0) mtx_unlock(&Giant); } } |
