Moved the definition of `boottime' and its sysctl to the correct file.
This commit is contained in:
parent
34d32cd340
commit
37d3877723
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51229
@ -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()
|
||||
*
|
||||
|
@ -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..."
|
||||
|
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user