diff options
author | jhb <jhb@FreeBSD.org> | 2002-02-08 18:30:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-02-08 18:30:36 +0000 |
commit | 2b39165550c3e151a6d46c3af13adf9e0810a703 (patch) | |
tree | 6d6986345f66da99db624871f75774a19f515f2c /sys/amd64/isa/nmi.c | |
parent | 1d8d40a1948b59758b0121977bb4aad03a494c60 (diff) | |
download | FreeBSD-src-2b39165550c3e151a6d46c3af13adf9e0810a703.zip FreeBSD-src-2b39165550c3e151a6d46c3af13adf9e0810a703.tar.gz |
Don't grab the ICU lock while reading the current pending interrupts and
current masked interrupts from the AT PIC.
Requested by: bde
Diffstat (limited to 'sys/amd64/isa/nmi.c')
-rw-r--r-- | sys/amd64/isa/nmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/isa/nmi.c b/sys/amd64/isa/nmi.c index 98194a1..cfc162b 100644 --- a/sys/amd64/isa/nmi.c +++ b/sys/amd64/isa/nmi.c @@ -409,10 +409,8 @@ isa_irq_pending() u_char irr1; u_char irr2; - mtx_lock_spin(&icu_lock); irr1 = inb(IO_ICU1); irr2 = inb(IO_ICU2); - mtx_unlock_spin(&icu_lock); return ((irr2 << 8) | irr1); } #endif |