diff options
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r-- | sys/dev/syscons/syscons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 7dae3ea..89d60ef 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -2326,8 +2326,8 @@ sc_switch_scr(sc_softc_t *sc, u_int next_scr) if (sc->new_scp == sc->old_scp) { sc->switch_in_progress = 0; /* - * XXX wakeup() calls mtx_lock(&sched_lock) which will hang if - * sched_lock is in an in-between state, e.g., when we stop at + * XXX wakeup() locks the scheduler lock which will hang if + * the lock is in an in-between state, e.g., when we stop at * a breakpoint at fork_exit. It has always been wrong to call * wakeup() when the debugger is active. In RELENG_4, wakeup() * is supposed to be locked by splhigh(), but the debugger may |