From: Ingo Molnar Date: Fri, 6 Mar 2009 11:47:08 +0000 (+0100) Subject: tracing, power-trace: make it build even if the power-tracer is turned off X-Git-Tag: v2.6.30-rc1~2^2~61 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=af438c0f114b6f731b923b5c07150f6159471502 tracing, power-trace: make it build even if the power-tracer is turned off Impact: build fix The 'struct power_trace' definition is needed (for the event tracer) even if the power-tracer plugin is turned off in the .config. Cc: Steven Rostedt LKML-Reference: <20090306104106.GF31042@elte.hu> Signed-off-by: Ingo Molnar --- diff --git a/include/trace/power.h b/include/trace/power.h index 2c733e5..38aca53 100644 --- a/include/trace/power.h +++ b/include/trace/power.h @@ -11,12 +11,10 @@ enum { }; struct power_trace { -#ifdef CONFIG_POWER_TRACER ktime_t stamp; ktime_t end; int type; int state; -#endif }; DECLARE_TRACE(power_start,