summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_nop.c')
-rw-r--r--kernel/trace/trace_nop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_nop.c b/kernel/trace/trace_nop.c
index 16c9ba060ba..4592b486251 100644
--- a/kernel/trace/trace_nop.c
+++ b/kernel/trace/trace_nop.c
@@ -30,7 +30,7 @@ static void nop_trace_init(struct trace_array *tr)
ctx_trace = tr;
for_each_online_cpu(cpu)
- tracing_reset(tr->data[cpu]);
+ tracing_reset(tr, cpu);
if (tr->ctrl)
start_nop_trace(tr);