Unbreak build for the the !PREEMPTION case: don't define variables

that aren't used in that case.
This commit is contained in:
Marcel Moolenaar 2004-07-03 00:57:43 +00:00
parent 557b7fa148
commit 8b44a2e2c9

View File

@ -473,8 +473,10 @@ critical_exit(void)
int
maybe_preempt(struct thread *td)
{
#ifdef PREEMPTION
struct thread *ctd;
int cpri, pri;
#endif
mtx_assert(&sched_lock, MA_OWNED);
#ifdef PREEMPTION