2007-12-04 03:37:36

by Kevin Hilman

[permalink] [raw]
Subject: [PATCH -rt] ARM: compile fix for event tracing

The cycles/usecs conversion macros should be dependent on
CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING.

Signed-off-by: Kevin Hilman <[email protected]>

--- a/include/asm-arm/timex.h
+++ b/include/asm-arm/timex.h
@@ -18,7 +18,7 @@ typedef unsigned long cycles_t;

#ifndef mach_read_cycles
#define mach_read_cycles() (0)
-#ifdef CONFIG_LATENCY_TIMING
+#ifdef CONFIG_EVENT_TRACE
#define mach_cycles_to_usecs(d) (d)
#define mach_usecs_to_cycles(d) (d)
#endif


2007-12-04 15:07:29

by Steven Rostedt

[permalink] [raw]
Subject: Re: [PATCH -rt] ARM: compile fix for event tracing



On Mon, 3 Dec 2007, Kevin Hilman wrote:

> The cycles/usecs conversion macros should be dependent on
> CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING.
>
> Signed-off-by: Kevin Hilman <[email protected]>
>
> --- a/include/asm-arm/timex.h
> +++ b/include/asm-arm/timex.h

Hi, thanks I'll apply this.

But please, in the future, state which version of the -rt patch you
applied this to.

Thanks,

-- Steve