mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
- Use a unique string for the sched_setup SYSINIT and rename sched_setup to
synch_setup. The schedulers use the sched_setup function name.
This commit is contained in:
parent
b998bd92e3
commit
d1605f0ac9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124954
@ -70,8 +70,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
static void sched_setup(void *dummy);
|
||||
SYSINIT(sched_setup, SI_SUB_KICK_SCHEDULER, SI_ORDER_FIRST, sched_setup, NULL)
|
||||
static void synch_setup(void *dummy);
|
||||
SYSINIT(synch_setup, SI_SUB_KICK_SCHEDULER, SI_ORDER_FIRST, synch_setup, NULL)
|
||||
|
||||
int hogticks;
|
||||
int lbolt;
|
||||
@ -629,7 +629,7 @@ lboltcb(void *arg)
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
sched_setup(dummy)
|
||||
synch_setup(dummy)
|
||||
void *dummy;
|
||||
{
|
||||
callout_init(&loadav_callout, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user