mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Remove the previous hack since it doesn't make a difference and is getting
in the way of debugging.
This commit is contained in:
parent
b332cea583
commit
18f480f8f6
1 changed files with 0 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue