diff options
author | dillon <dillon@FreeBSD.org> | 2002-02-26 20:33:41 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2002-02-26 20:33:41 +0000 |
commit | 996781f17a00793462f9b311d5f8e7a458679909 (patch) | |
tree | 7ede0e88befde8b862a573c1bafc540a03a87d83 /sys/i386/isa/npx.c | |
parent | 118717618343ff3fc9166354457e2ab28cb86fbe (diff) | |
download | FreeBSD-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.c | 12 |
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); |