diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index 786c22bff0a..7c84c647891 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -224,6 +224,7 @@ slot_fill(struct ksegrp *kg) } } +#ifdef SCHED_4BSD /* * Remove a thread from its KSEGRP's run queue. * This in turn may remove it from a KSE if it was already assigned @@ -273,6 +274,7 @@ remrunqueue(struct thread *td) /* slot_fill(kg); */ /* will replace it with another */ } } +#endif /* * Change the priority of a thread that is on the run queue.