mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -rt] ARM: compile fix for event tracing
@ 2007-12-04  3:37 Kevin Hilman
  2007-12-04 15:04 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2007-12-04  3:37 UTC (permalink / raw)
  To: linux-rt-users; +Cc: linux-arm-kernel, linux-kernel

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

Signed-off-by: Kevin Hilman <khilman@mvista.com>

--- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -rt] ARM: compile fix for event tracing
  2007-12-04  3:37 [PATCH -rt] ARM: compile fix for event tracing Kevin Hilman
@ 2007-12-04 15:04 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2007-12-04 15:04 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-rt-users, linux-arm-kernel, linux-kernel



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 <khilman@mvista.com>
>
> --- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-04 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-04  3:37 [PATCH -rt] ARM: compile fix for event tracing Kevin Hilman
2007-12-04 15:04 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®