|
@@ -557,7 +557,6 @@ extern void mod_return_to_handler(void);
|
|
|
void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
|
|
|
{
|
|
|
unsigned long old;
|
|
|
- unsigned long long calltime;
|
|
|
int faulted;
|
|
|
struct ftrace_graph_ent trace;
|
|
|
unsigned long return_hooker = (unsigned long)&return_to_handler;
|
|
@@ -606,10 +605,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- calltime = cpu_clock(raw_smp_processor_id());
|
|
|
-
|
|
|
- if (ftrace_push_return_trace(old, calltime,
|
|
|
- self_addr, &trace.depth) == -EBUSY) {
|
|
|
+ if (ftrace_push_return_trace(old, self_addr, &trace.depth) == -EBUSY) {
|
|
|
*parent = old;
|
|
|
return;
|
|
|
}
|