summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-15 12:11:06 +0000
committerphk <phk@FreeBSD.org>2002-04-15 12:11:06 +0000
commited0cd9a251a69f708a0d247b1408ef641e9c2e3b (patch)
tree72ccf81aeafac65218ff420645438c1cfc019f27 /sys
parentacd63b074d82fbbd0eb251ba3d68aa6e714fe85d (diff)
downloadFreeBSD-src-ed0cd9a251a69f708a0d247b1408ef641e9c2e3b.zip
FreeBSD-src-ed0cd9a251a69f708a0d247b1408ef641e9c2e3b.tar.gz
Take the "tickadj" element out of struct clockinfo. Our adjtime(2)
implementation is being changed and the very concept of tickadj will no longer be meaningful.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_clock.c1
-rw-r--r--sys/sys/time.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 32ab7c0..e613eb6 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -484,7 +484,6 @@ sysctl_kern_clockrate(SYSCTL_HANDLER_ARGS)
*/
clkinfo.hz = hz;
clkinfo.tick = tick;
- clkinfo.tickadj = tickadj;
clkinfo.profhz = profhz;
clkinfo.stathz = stathz ? stathz : hz;
return (sysctl_handle_opaque(oidp, &clkinfo, sizeof clkinfo, req));
diff --git a/sys/sys/time.h b/sys/sys/time.h
index a42efcd..2312e08 100644
--- a/sys/sys/time.h
+++ b/sys/sys/time.h
@@ -262,7 +262,6 @@ struct itimerval {
struct clockinfo {
int hz; /* clock frequency */
int tick; /* micro-seconds per hz tick */
- int tickadj; /* clock skew rate for adjtime() */
int stathz; /* statistics clock frequency */
int profhz; /* profiling clock frequency */
};
OpenPOWER on IntegriCloud