summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-20 13:24:18 +0000
committerbde <bde@FreeBSD.org>1995-11-20 13:24:18 +0000
commitcc094780c5b3974b458bc0701ae62f3d3280b800 (patch)
tree4668f93e94482bee3adfc61d47f81e884a529467 /sys/i386
parentd0c66446cc835afd7c554f93568beda34a3cbba0 (diff)
downloadFreeBSD-src-cc094780c5b3974b458bc0701ae62f3d3280b800.zip
FreeBSD-src-cc094780c5b3974b458bc0701ae62f3d3280b800.tar.gz
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.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/isa/isa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c
index 35003e8..503d0d4 100644
--- a/sys/i386/isa/isa.c
+++ b/sys/i386/isa/isa.c
@@ -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
OpenPOWER on IntegriCloud