diff options
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r-- | sys/kern/kern_synch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index d07f090..f54c2d1 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -477,11 +477,11 @@ msleep(ident, mtx, priority, wmesg, timo) } } mtx_lock_spin(&sched_lock); - if (cold || panicstr) { + if (cold ) { /* - * After a panic, or during autoconfiguration, - * just give interrupts a chance, then just return; - * don't run any other procs or panic below, + * During autoconfiguration, just give interrupts + * a chance, then just return. + * Don't run any other procs or panic below, * in case this is the idle process and already asleep. */ if (mtx != NULL && priority & PDROP) |