diff options
author | phk <phk@FreeBSD.org> | 2006-10-02 12:59:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-10-02 12:59:59 +0000 |
commit | 50c81b8a9a184590a45c87eace5798a2055cee48 (patch) | |
tree | f5002a864a5082d410445f24b5d28a04581034f1 /sys/ia64 | |
parent | a74a69e33655413d8141ad4e5faff9237ef517c1 (diff) | |
download | FreeBSD-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/ia64')
-rw-r--r-- | sys/ia64/ia64/clock.c | 1 | ||||
-rw-r--r-- | sys/ia64/include/clock.h | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sys/ia64/ia64/clock.c b/sys/ia64/ia64/clock.c index 24b7917..c7e5ccf 100644 --- a/sys/ia64/ia64/clock.c +++ b/sys/ia64/ia64/clock.c @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/clock.h> #include <sys/queue.h> #include <sys/sysctl.h> #include <sys/systm.h> diff --git a/sys/ia64/include/clock.h b/sys/ia64/include/clock.h index b058158..31a8ed2 100644 --- a/sys/ia64/include/clock.h +++ b/sys/ia64/include/clock.h @@ -13,10 +13,6 @@ #define CLOCK_VECTOR 254 -extern int adjkerntz; -extern int disable_rtc_set; -extern int wall_cmos_clock; - extern uint64_t ia64_clock_reload; extern uint64_t itc_frequency; |