summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2004-01-25 07:49:45 +0000
committerjeff <jeff@FreeBSD.org>2004-01-25 07:49:45 +0000
commit2f38f1df6aec90129d2040394a31181aefd22690 (patch)
treea207c8877fbaf734c21969d3302eac30e39adc0c /sys/kern
parent57e495aa56cea6cb21ebea5b9b10f48d114134d2 (diff)
downloadFreeBSD-src-2f38f1df6aec90129d2040394a31181aefd22690.zip
FreeBSD-src-2f38f1df6aec90129d2040394a31181aefd22690.tar.gz
- Use a unique string for the sched_setup SYSINIT and rename sched_setup to
synch_setup. The schedulers use the sched_setup function name.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_synch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 291937c..a7c8f86 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -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);
OpenPOWER on IntegriCloud