[ofw] [PATCH] Bus: Fix debug build when WPP tracing is enabled

Fab Tillier ftillier at windows.microsoft.com
Tue Feb 3 19:28:39 PST 2009


When turning on WPP tracing in a debug build the bus driver build fails.  This fixes it.

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

Index: core/bus/kernel/bus_driver.c
===================================================================
--- core/bus/kernel/bus_driver.c        (revision 1924)
+++ core/bus/kernel/bus_driver.c        (working copy)
@@ -486,7 +486,7 @@
                                BUS_TRACE(BUS_DBG_ERROR ,
                                                 ("Failed to build pkey configuration\n"));
        }
-#if DBG
+#if DBG & !defined( EVENT_TRACING )
        if( g_al_dbg_flags & AL_DBG_ERR )
                g_al_dbg_flags |= CL_DBG_ERROR;



More information about the ofw mailing list