diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace_functions_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index c009553a8e81..e527f2f66c73 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c | |||
@@ -112,7 +112,7 @@ unsigned long ftrace_return_to_handler(void) | |||
112 | unsigned long ret; | 112 | unsigned long ret; |
113 | 113 | ||
114 | ftrace_pop_return_trace(&trace, &ret); | 114 | ftrace_pop_return_trace(&trace, &ret); |
115 | trace.rettime = cpu_clock(raw_smp_processor_id()); | 115 | trace.rettime = trace_clock_local(); |
116 | ftrace_graph_return(&trace); | 116 | ftrace_graph_return(&trace); |
117 | 117 | ||
118 | if (unlikely(!ret)) { | 118 | if (unlikely(!ret)) { |