summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-10-02 12:59:59 +0000
committerphk <phk@FreeBSD.org>2006-10-02 12:59:59 +0000
commit50c81b8a9a184590a45c87eace5798a2055cee48 (patch)
treef5002a864a5082d410445f24b5d28a04581034f1 /sys/pc98
parenta74a69e33655413d8141ad4e5faff9237ef517c1 (diff)
downloadFreeBSD-src-50c81b8a9a184590a45c87eace5798a2055cee48.zip
FreeBSD-src-50c81b8a9a184590a45c87eace5798a2055cee48.tar.gz
First part of a little cleanup in the calendar/timezone/RTC handling.
Move relevant variables to <sys/clock.h> and fix #includes as necessary. Use libkern's much more time- & spamce-efficient BCD routines.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/clock.c1
-rw-r--r--sys/pc98/cbus/pcrtc.c1
-rw-r--r--sys/pc98/pc98/machdep.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 1bc70b0..2e2fc2e 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -56,6 +56,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
+#include <sys/clock.h>
#include <sys/lock.h>
#include <sys/kdb.h>
#include <sys/mutex.h>
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 1bc70b0..2e2fc2e 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -56,6 +56,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
+#include <sys/clock.h>
#include <sys/lock.h>
#include <sys/kdb.h>
#include <sys/mutex.h>
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 089d3a7..6c1adda 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$");
#include <sys/buf.h>
#include <sys/bus.h>
#include <sys/callout.h>
+#include <sys/clock.h>
#include <sys/cons.h>
#include <sys/cpu.h>
#include <sys/eventhandler.h>
OpenPOWER on IntegriCloud