From 18f480f8f61a61cd4e17d05c8cd6b14d781aecb2 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Fri, 23 Jul 2004 19:59:16 +0000 Subject: [PATCH] Remove the previous hack since it doesn't make a difference and is getting in the way of debugging. --- sys/kern/kern_switch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index 4822c5edb99..5183a355995 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -450,7 +450,6 @@ critical_exit(void) KASSERT(td->td_critnest != 0, ("critical_exit: td_critnest == 0")); if (td->td_critnest == 1) { -#if 0 #ifdef PREEMPTION mtx_assert(&sched_lock, MA_NOTOWNED); if (td->td_pflags & TDP_OWEPREEMPT) { @@ -458,7 +457,6 @@ critical_exit(void) mi_switch(SW_INVOL, NULL); mtx_unlock_spin(&sched_lock); } -#endif #endif td->td_critnest = 0; cpu_critical_exit();