Remove the previous hack since it doesn't make a difference and is getting

in the way of debugging.
This commit is contained in:
Scott Long 2004-07-23 19:59:16 +00:00
parent b332cea583
commit 18f480f8f6

View file

@ -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();