ARM: compile fix for event tracing
PATCH 1/1 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]>
include/asm-arm/timex.h +1 -1
@@ -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
include/asm-arm/timex.h
Quoted 7 lines · Kevin Hilman
The cycles/usecs conversion macros should be dependent on
CONFIG_EVENT_TRACEinstead ofCONFIG_LATENCY_TIMING.Signed-off-by Kevin Hilman <[email protected]>include/asm-arm/timex.h +0
-0
Hi, thanks I'll apply this.
But please, in the future, state which version of the -rt patch you applied this to.
Thanks,
-- Steve
Quoted 10 lines · Steven Rostedt <rostedt <at> goodmis.org> writes:
Quoted 3 lines · Kevin Hilman
The cycles/usecs conversion macros should be dependent on
CONFIG_EVENT_TRACEinstead ofCONFIG_LATENCY_TIMING.Hi, thanks I'll apply this.
But please, in the future, state which version of the -rt patch you applied this to.
But now this berak when CONFIG_LATENCY_TIMING. is selected but not CONFIG_EVENT_TRACE
Matthieu