mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 18:54:52 +00:00
Quick fix for stat_imask and intr_mask[8] not having the RTC interrupt
bit set. I broke stat_imask in Dec 1994 and update_intr_masks() has copied the breakage to intr_mask[8] since Mar 1995. This can cause the RTC to stop interrupting in rare cases (under loads heavy enough for a new RTC interrupt to occur at a critical time just before Xintr8 finishes handling the previous one) and may have caused worse problems.
This commit is contained in:
parent
4b2af45f4b
commit
bf7141134e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12430
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.55 1995/11/05 04:45:15 gibbs Exp $
|
||||
* $Id: isa.c,v 1.56 1995/11/20 12:41:44 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -891,6 +891,7 @@ update_intr_masks(void)
|
|||
if (intr==2) continue;
|
||||
maskptr = intr_mptr[intr];
|
||||
if (!maskptr) continue;
|
||||
*maskptr |= 1 << intr;
|
||||
mask = *maskptr;
|
||||
if (mask != intr_mask[intr]) {
|
||||
#if 0
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.55 1995/11/05 04:45:15 gibbs Exp $
|
||||
* $Id: isa.c,v 1.56 1995/11/20 12:41:44 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -891,6 +891,7 @@ update_intr_masks(void)
|
|||
if (intr==2) continue;
|
||||
maskptr = intr_mptr[intr];
|
||||
if (!maskptr) continue;
|
||||
*maskptr |= 1 << intr;
|
||||
mask = *maskptr;
|
||||
if (mask != intr_mask[intr]) {
|
||||
#if 0
|
||||
|
|
Loading…
Reference in a new issue