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:
parent
16d9177176
commit
44fe3c1ff0
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user