summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2014-03-17 16:45:28 +0000
committerroyger <royger@FreeBSD.org>2014-03-17 16:45:28 +0000
commitde481ec919310fb0df7cca81560bfe5c1805cacd (patch)
tree1b0d8e7abeed4977c26fc79cdc760faab7275e18
parentdcb2ac3517a9934fa6186afa3513e740ffc24f37 (diff)
downloadFreeBSD-src-de481ec919310fb0df7cca81560bfe5c1805cacd.zip
FreeBSD-src-de481ec919310fb0df7cca81560bfe5c1805cacd.tar.gz
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@iem.pw.edu.pl> Approved by: gibbs Sponsored by: Citrix Systems R&D
-rw-r--r--sys/dev/xen/console/console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/xen/console/console.c b/sys/dev/xen/console/console.c
index f151ca6..77bc91e 100644
--- a/sys/dev/xen/console/console.c
+++ b/sys/dev/xen/console/console.c
@@ -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
OpenPOWER on IntegriCloud