summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-04-23 13:33:36 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-04-23 13:33:36 +0000
commit99f06e279327f30060f8f89b17cca7931d0dda0b (patch)
tree60aa380a29860956d7512c1d053f95d0ba83db5c /sys/dev
parent4d505ff6a4c3d2ef8061b73c27292f8105dada05 (diff)
Insert missing DvcLeaveCritial() (a.k.a. splx()) before a return.
Spotted by fgsch@.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/advlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/advlib.c b/sys/dev/ic/advlib.c
index 3d441aa7c0b..c93e54ade76 100644
--- a/sys/dev/ic/advlib.c
+++ b/sys/dev/ic/advlib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: advlib.c,v 1.3 1998/11/17 04:25:21 downsj Exp $ */
+/* $OpenBSD: advlib.c,v 1.4 2001/04/23 13:33:35 krw Exp $ */
/* $NetBSD: advlib.c,v 1.7 1998/10/28 20:39:46 dante Exp $ */
/*
@@ -3092,6 +3092,7 @@ AscRiscHaltedAbortCCB(sc, ccb)
AscWriteLramByte(iot, ioh, q_addr + ASC_SCSIQ_B_STATUS,
scsiq->q_status);
(*asc_isr_callback) (sc, scsiq);
+ DvcLeaveCritical(last_int_level);
return (1);
}
}