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/alpha | |
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/alpha')
-rw-r--r-- | sys/alpha/isa/isa.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/alpha/isa/isa.c b/sys/alpha/isa/isa.c index 00c0ee9..d6ddebc 100644 --- a/sys/alpha/isa/isa.c +++ b/sys/alpha/isa/isa.c @@ -77,10 +77,8 @@ isa_irq_pending(void) 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); } @@ -90,10 +88,8 @@ isa_irq_mask(void) u_char irr1; u_char irr2; - mtx_lock_spin(&icu_lock); irr1 = inb(IO_ICU1+1); irr2 = inb(IO_ICU2+1); - mtx_unlock_spin(&icu_lock); return ((irr2 << 8) | irr1); } |