Moved the definition of `boottime' and its sysctl to the correct file.

This commit is contained in:
Bruce Evans 1999-09-13 14:22:27 +00:00
parent 34d32cd340
commit 37d3877723
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51229
3 changed files with 8 additions and 4 deletions

View File

@ -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()
*

View File

@ -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..."

View File

@ -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..."