From 26ef99f3eb54f1828a50aceb37318f39cf3480ec Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 19 Nov 2008 21:12:26 +0000 Subject: [PATCH] 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. --- sys/dev/dcons/dcons_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c index aad963750ba3..466f7a0f6761 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;