diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:05:19 -0400 |
---|---|---|
committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:05:19 -0400 |
commit | fe427e3c88da72d1bace4cbbf648ae3cd1dab5a8 (patch) | |
tree | f60e0978c10e6a187d47a5a1b78861ad553d0750 | |
parent | 0f733f532ea9afdc04e1099adc3f8159bdd0ea79 (diff) |
lttng: powerpc trace-clock.h include <asm/time.h> for get_tbl
Make get_tbl() and get_tb() known to powerpc <asm/trace-clock.h> by
having it include <asm/time.h> (where get_tbl() and get_tb() are defined).
This fixes compiler errors when get_tbl() and get_tb() were referenced
by <asm/trace-clock.h> without being defined.
On the other hand, <asm/processor.h> was needlessly included. Remove it.
From: srikanth krishnakar <skrishnakar@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
-rw-r--r-- | arch/powerpc/include/asm/trace-clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/trace-clock.h b/arch/powerpc/include/asm/trace-clock.h index 9aee5723b9f..b0b4e21e8fb 100644 --- a/arch/powerpc/include/asm/trace-clock.h +++ b/arch/powerpc/include/asm/trace-clock.h @@ -11,7 +11,7 @@ #include <linux/timex.h> #include <linux/time.h> -#include <asm/processor.h> +#include <asm/time.h> static inline u32 trace_clock_read32(void) { |