summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2011-03-16 19:05:57 -0400
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2011-03-16 19:05:57 -0400
commitec160c4c797190f21ddb19ebe945bd259c4875f2 (patch)
treec6a2585fcb9042b0ba113a3382e057d0687c983d /arch/powerpc/include
parent3181ff37cc46f72c01421e1c85965dcf10df8130 (diff)
trace-clock-get-may-fail
Trace clock get may fail ARM pmu reservation may fail, so we have to change the trace clock get prototype. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/trace-clock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/trace-clock.h b/arch/powerpc/include/asm/trace-clock.h
index b0b4e21e8fb..05facc3e372 100644
--- a/arch/powerpc/include/asm/trace-clock.h
+++ b/arch/powerpc/include/asm/trace-clock.h
@@ -33,8 +33,9 @@ static inline u32 trace_clock_freq_scale(void)
return 1;
}
-static inline void get_trace_clock(void)
+static inline int get_trace_clock(void)
{
+ return 0;
}
static inline void put_trace_clock(void)