aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2007-06-04 23:57:32 +0000
committerJeff Roberson <jeff@FreeBSD.org>2007-06-04 23:57:32 +0000
commit1b1618fb125865af900298ff5d5a2c2bb77ecd34 (patch)
tree94504cdd93e5f8b4e5d7be07bb2a3b46cb6f87ac /sys/dev/syscons
parent74aaec43e84186bbf0c9e06274ec9c0a4fc21fff (diff)
Notes
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 7dae3ea4d178..89d60ef3a4a7 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