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 <a...@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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"