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:
parent
796e9260a7
commit
86af13e28b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user