diff options
-rw-r--r-- | sys/kern/init_main.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_clock.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_tc.c | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 7a0e216..364b423 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -95,10 +95,6 @@ extern struct user *proc0paddr; struct vnode *rootvp; int boothowto = 0; /* initialized so that it can be patched */ -struct timeval boottime; -SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD, - &boottime, timeval, "System boottime"); - /* * Promiscuous argument pass for start_init() * diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 4d7b6a9..34f4c36 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -101,6 +101,10 @@ long tk_rawcc; time_t time_second; +struct timeval boottime; +SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD, + &boottime, timeval, "System boottime"); + /* * Which update policy to use. * 0 - every tick, bad hardware may fail with "calcru negative..." diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 4d7b6a9..34f4c36 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -101,6 +101,10 @@ long tk_rawcc; time_t time_second; +struct timeval boottime; +SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD, + &boottime, timeval, "System boottime"); + /* * Which update policy to use. * 0 - every tick, bad hardware may fail with "calcru negative..." |