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

Leonid Keller leonid at mellanox.co.il
Mon Feb 16 04:14:54 PST 2009


Applied in 1968, thank you. 

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org 
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Fab Tillier
> Sent: Wednesday, February 04, 2009 5:29 AM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] [PATCH] Bus: Fix debug build when WPP tracing 
> is enabled
> 
> 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; 
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> 



More information about the ofw mailing list