[Midnightbsd-cvs] src [10000] trunk/sys/gdb/gdb_cons.c: sync
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun May 27 17:05:57 EDT 2018
Revision: 10000
http://svnweb.midnightbsd.org/src/?rev=10000
Author: laffer1
Date: 2018-05-27 17:05:56 -0400 (Sun, 27 May 2018)
Log Message:
-----------
sync
Modified Paths:
--------------
trunk/sys/gdb/gdb_cons.c
Modified: trunk/sys/gdb/gdb_cons.c
===================================================================
--- trunk/sys/gdb/gdb_cons.c 2018-05-27 16:39:45 UTC (rev 9999)
+++ trunk/sys/gdb/gdb_cons.c 2018-05-27 21:05:56 UTC (rev 10000)
@@ -77,7 +77,7 @@
/* setup tx buffer and callout */
if (c->npending == -1) {
c->npending = 0;
- callout_init(&c->flush, CALLOUT_MPSAFE);
+ callout_init(&c->flush, 1);
cp->cn_arg = c;
}
}
@@ -136,7 +136,7 @@
{
calloutok = 1;
}
-SYSINIT(gdbhack, SI_SUB_RUN_SCHEDULER, SI_ORDER_MIDDLE, oktousecallout, NULL);
+SYSINIT(gdbhack, SI_SUB_LAST, SI_ORDER_MIDDLE, oktousecallout, NULL);
static void
gdb_cnputc(struct consdev *cp, int c)
More information about the Midnightbsd-cvs
mailing list