summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-02-26 20:33:41 +0000
committerdillon <dillon@FreeBSD.org>2002-02-26 20:33:41 +0000
commit996781f17a00793462f9b311d5f8e7a458679909 (patch)
tree7ede0e88befde8b862a573c1bafc540a03a87d83 /sys/i386/isa/npx.c
parent118717618343ff3fc9166354457e2ab28cb86fbe (diff)
downloadFreeBSD-src-996781f17a00793462f9b311d5f8e7a458679909.zip
FreeBSD-src-996781f17a00793462f9b311d5f8e7a458679909.tar.gz
revert last commit temporarily due to whining on the lists.
Diffstat (limited to 'sys/i386/isa/npx.c')
-rw-r--r--sys/i386/isa/npx.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index abccf06..07bd2f5 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -429,15 +429,9 @@ no_irq13:
* XXX hack around brokenness of bus_teardown_intr(). If we left the
* irq active then we would get it instead of exception 16.
*/
- {
- critical_t crit;
-
- crit = cpu_critical_enter();
- mtx_lock_spin(&icu_lock);
- INTRDIS(1 << irq_num);
- mtx_unlock_spin(&icu_lock);
- cpu_critical_exit(crit);
- }
+ mtx_lock_spin(&icu_lock);
+ INTRDIS(1 << irq_num);
+ mtx_unlock_spin(&icu_lock);
bus_release_resource(dev, SYS_RES_IRQ, irq_rid, irq_res);
bus_release_resource(dev, SYS_RES_IOPORT, ioport_rid, ioport_res);
OpenPOWER on IntegriCloud