diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-18 17:34:24 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-18 17:34:24 +0000 |
commit | a015298996aee5508fa1203d9a9f6b0bc97abd3a (patch) | |
tree | fd288382b047f1d3a313d8bef1ec4566c15acfa0 /sys/dev/ic | |
parent | 71f9cb99d4779adb15089622f5c54d966bed5741 (diff) |
Kill splbio/splx in the interrupt handler.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mfi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index c697ec28313..5d1e46f09d9 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.39 2006/05/18 17:25:02 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.40 2006/05/18 17:34:23 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -754,13 +754,11 @@ mfi_intr(void *arg) struct mfi_ccb *ccb; uint32_t status, producer, consumer, ctx; int claimed = 0; - int s; status = mfi_read(sc, MFI_OSTS); if ((status & MFI_OSTS_INTR_VALID) == 0) return (claimed); /* write status back to acknowledge interrupt */ - s = splbio(); mfi_write(sc, MFI_OSTS, status); DNPRINTF(MFI_D_INTR, "%s: mfi_intr %#x %#x\n", DEVNAME(sc), sc, pcq); @@ -793,7 +791,6 @@ mfi_intr(void *arg) } pcq->mpc_consumer = consumer; - splx(s); return (claimed); } |