Date: Wed, 19 Nov 2008 21:12:26 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185107 - head/sys/dev/dcons Message-ID: <200811192112.mAJLCQiA028652@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Wed Nov 19 21:12:26 2008 New Revision: 185107 URL: http://svn.freebsd.org/changeset/base/185107 Log: 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. Modified: head/sys/dev/dcons/dcons_os.c Modified: head/sys/dev/dcons/dcons_os.c ============================================================================== --- head/sys/dev/dcons/dcons_os.c Wed Nov 19 21:07:33 2008 (r185106) +++ head/sys/dev/dcons/dcons_os.c Wed Nov 19 21:12:26 2008 (r185107) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811192112.mAJLCQiA028652>