summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/tsc.c1
-rw-r--r--sys/i386/isa/clock.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 52e1932..539a460 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 52e1932..539a460 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -719,6 +719,7 @@ rtc_restore(void)
/* Reenable RTC updates and interrupts. */
/* XXX locking is needed for RTC access? */
+ writertc(RTC_STATUSA, rtc_statusa);
writertc(RTC_STATUSB, RTCSB_HALT | RTCSB_24HR);
writertc(RTC_STATUSB, rtc_statusb);
}
OpenPOWER on IntegriCloud