svn commit: r263268 - head/sys/dev/xen/console
Roger Pau Monné
royger at FreeBSD.org
Mon Mar 17 16:45:29 UTC 2014
Author: royger
Date: Mon Mar 17 16:45:28 2014
New Revision: 263268
URL: http://svnweb.freebsd.org/changeset/base/263268
Log:
xen: fix usage of db_active in xen console
Replace usage of db_active in Xen console with kdb_active.
Reported by: Andrzej Tobola <ato at iem.pw.edu.pl>
Approved by: gibbs
Sponsored by: Citrix Systems R&D
Modified:
head/sys/dev/xen/console/console.c
Modified: head/sys/dev/xen/console/console.c
==============================================================================
--- head/sys/dev/xen/console/console.c Mon Mar 17 16:10:42 2014 (r263267)
+++ head/sys/dev/xen/console/console.c Mon Mar 17 16:45:28 2014 (r263268)
@@ -247,13 +247,12 @@ xc_cnputc(struct consdev *dev, int c)
xc_cnputc_domu(dev, c);
}
-extern int db_active;
static boolean_t
xcons_putc(int c)
{
int force_flush = xc_mute ||
#ifdef DDB
- db_active ||
+ kdb_active ||
#endif
panicstr; /* we're not gonna recover, so force
* flush
More information about the svn-src-all
mailing list