[IBBUS] Fix debug build when WPP tracing is enabled.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 16 Feb 2009 12:14:30 +0000 (12:14 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 16 Feb 2009 12:14:30 +0000 (12:14 +0000)
When turning on WPP tracing in a debug build the bus driver build fails.  This fixes it.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1968 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/bus/kernel/bus_driver.c

index 9004c1c..bf06a87 100644 (file)
@@ -743,7 +743,7 @@ __read_registry(
                                                 ("Failed to create devices\n"));\r
                        }\r
        }\r
-#if DBG\r
+#if DBG & !defined( EVENT_TRACING )\r
        if( g_al_dbg_flags & AL_DBG_ERR )\r
                g_al_dbg_flags |= CL_DBG_ERROR;\r
 \r