]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/trace/trace_sched_switch.c
ftrace: make work with new ring buffer
[linux-2.6-omap-h63xx.git] / kernel / trace / trace_sched_switch.c
index 789e927abc9cff116abc148c20a3b7ed0de7661d..e0b06db0f7af6e115b1aeb2e7f9d4f319a2f0457 100644 (file)
@@ -81,7 +81,7 @@ static void sched_switch_reset(struct trace_array *tr)
        tr->time_start = ftrace_now(tr->cpu);
 
        for_each_online_cpu(cpu)
-               tracing_reset(tr->data[cpu]);
+               tracing_reset(tr, cpu);
 }
 
 static int tracing_sched_register(void)