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:
parent
2e069b1e20
commit
26ef99f3eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user