Don't scare users with a warning about preemption being off when it isn't

yet safe to have on by default.
This commit is contained in:
jhb 2004-08-06 15:49:44 +00:00
parent 43c8fe8c3c
commit d3254af40d

View File

@ -537,6 +537,7 @@ maybe_preempt(struct thread *td)
#endif
}
#if 0
#ifndef PREEMPTION
/* XXX: There should be a non-static version of this. */
static void
@ -549,6 +550,7 @@ static char preempt_warning[] =
SYSINIT(preempt_warning, SI_SUB_COPYRIGHT, SI_ORDER_ANY, printf_caddr_t,
preempt_warning)
#endif
#endif
/************************************************************************
* SYSTEM RUN QUEUE manipulations and tests *