diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 3d1ff6902a66..2309ecb1d0bc 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -116,7 +116,7 @@ struct td_sched { CPU_ISSET((cpu), &(td)->td_cpuset->cs_mask) static struct td_sched td_sched0; -struct mtx sched_lock; +static struct mtx sched_lock; static int realstathz = 127; /* stathz is sometimes 0 and run off of hz. */ static int sched_tdcnt; /* Total runnable threads in the system. */