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.
This commit is contained in:
ed 2008-11-19 21:12:26 +00:00
parent 2e069b1e20
commit 26ef99f3eb

View File

@ -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;