summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-17 03:32:17 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-17 03:32:17 +0000
commit511a0813e0a77cb1cb12d0c932e592c84a5afad3 (patch)
treecc299aef52fd4311295d02f1ccb06e33188ffbc7 /sys/dev/pci
parenta9cb04e6878c0aac5b305fd6c4480e9cd4584670 (diff)
Missing splx, and rearrange a bit.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/noct.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/noct.c b/sys/dev/pci/noct.c
index 24e8718d0b7..45fddaaf247 100644
--- a/sys/dev/pci/noct.c
+++ b/sys/dev/pci/noct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: noct.c,v 1.9 2002/07/16 19:39:17 jason Exp $ */
+/* $OpenBSD: noct.c,v 1.10 2002/07/17 03:32:16 jason Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -939,9 +939,10 @@ noct_ea_thread(vsc)
bus_dmamem_free(sc->sc_dmat, &q->q_dmaseg, rseg);
crp->crp_etype = 0;
free(q, M_DEVBUF);
- crypto_done(crp);
s = splnet();
+ crypto_done(crp);
}
+ splx(s);
/* Handle input queue */
s = splnet();