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
This commit is contained in:
Roger Pau Monné 2014-03-17 16:45:28 +00:00
parent 796e9260a7
commit 86af13e28b

View File

@ -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