Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 16:45:28 +0000 (UTC)
From:      Roger Pau Monné <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263268 - head/sys/dev/xen/console
Message-ID:  <201403171645.s2HGjSC7046420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403171645.s2HGjSC7046420>