summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-11-19 21:12:26 +0000
committered <ed@FreeBSD.org>2008-11-19 21:12:26 +0000
commit26ef99f3eb54f1828a50aceb37318f39cf3480ec (patch)
tree68297ab241c3deddfd0370a514b39961153f0b16 /sys/dev/dcons
parent2e069b1e20617fc380d814ebfaf55d9406c3a0f0 (diff)
downloadFreeBSD-src-26ef99f3eb54f1828a50aceb37318f39cf3480ec.zip
FreeBSD-src-26ef99f3eb54f1828a50aceb37318f39cf3480ec.tar.gz
Also make dcons(4) use MPSAFE callouts.
The callout locks the TTY layer the way it should, so there is no reason why its callout shouldn't set this flag.
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c
index aad9637..466f7a0 100644
--- a/sys/dev/dcons/dcons_os.c
+++ b/sys/dev/dcons/dcons_os.c
@@ -369,7 +369,7 @@ dcons_attach(void)
dcons_attach_port(DCONS_CON, "dcons", 0);
dcons_attach_port(DCONS_GDB, "dgdb", DC_GDB);
- callout_init(&dcons_callout, 0);
+ callout_init(&dcons_callout, CALLOUT_MPSAFE);
polltime = hz / poll_hz;
if (polltime < 1)
polltime = 1;
OpenPOWER on IntegriCloud