Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/wscons Fix previous and tag the right callout...



details:   https://anonhg.NetBSD.org/src/rev/03538fb79ddd
branches:  trunk
changeset: 946204:03538fb79ddd
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Nov 21 11:26:55 2020 +0000

description:
Fix previous and tag the right callout...

diffstat:

 sys/dev/wscons/wsdisplay_vcons.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 05c6c23d8fea -r 03538fb79ddd sys/dev/wscons/wsdisplay_vcons.c
--- a/sys/dev/wscons/wsdisplay_vcons.c  Sat Nov 21 11:23:22 2020 +0000
+++ b/sys/dev/wscons/wsdisplay_vcons.c  Sat Nov 21 11:26:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsdisplay_vcons.c,v 1.41 2020/11/21 11:23:22 mlelstv Exp $ */
+/*     $NetBSD: wsdisplay_vcons.c,v 1.42 2020/11/21 11:26:55 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2005, 2006 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.41 2020/11/21 11:23:22 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.42 2020/11/21 11:26:55 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -156,7 +156,7 @@
        vd->wanted = NULL;
        vd->currenttype = def;
        vd->defaulttype = def;
-       callout_init(&vd->switch_callout, CALLOUT_MPSAFE);
+       callout_init(&vd->switch_callout, 0);
        callout_setfunc(&vd->switch_callout, vcons_do_switch, vd);
 #ifdef VCONS_DRAW_INTR
        vd->cells = 0;
@@ -176,7 +176,7 @@
 #ifdef VCONS_DRAW_INTR
        vd->intr_softint = softint_establish(SOFTINT_SERIAL,
            vcons_softintr, vd);
-       callout_init(&vd->intr, 0);
+       callout_init(&vd->intr, CALLOUT_MPSAFE);
        callout_setfunc(&vd->intr, vcons_intr, vd);
        vd->intr_valid = 1;
 



Home | Main Index | Thread Index | Old Index