]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen/console: Fix build when DDB is enabled
authorJulien Grall <julien.grall@linaro.org>
Tue, 14 Jan 2014 01:41:16 +0000 (01:41 +0000)
committerJulien Grall <julien.grall@linaro.org>
Sun, 12 Apr 2015 11:08:02 +0000 (12:08 +0100)
db_active doesn't exist anymore. The code needs to use kdb_active/gdb_active.

For now only use kdb_active and add the corresponding guards.

sys/dev/xen/console/console.c

index 5019ec946d1523a022d93e5088a23fe8b85b2cfe..37b2270cd3bbc2d59c920085e34a0df92cb3ed2f 100644 (file)
@@ -251,7 +251,7 @@ static boolean_t
 xcons_putc(int c)
 {
        int force_flush = xc_mute ||
-#ifdef DDB
+#ifdef KDB
                kdb_active ||
 #endif
                panicstr;       /* we're not gonna recover, so force