MALI: utgard: rockchip: fix a compile error when GPU_TRACEPOINTS enabled
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / mali400 / mali / common / mali_group.c
index f0ed5223cc2a860298f960778f287dbfba5815bd..1b5942a5245bbca9ab66202c18786b1b7ec56a8e 100755 (executable)
@@ -697,7 +697,7 @@ void mali_group_add_group(struct mali_group *parent, struct mali_group *child)
                                              mali_pp_job_get_pid(job), mali_pp_job_get_tid(job), 0, 0, 0);
 #if defined(CONFIG_GPU_TRACEPOINTS) && defined(CONFIG_TRACEPOINTS)
                trace_gpu_sched_switch(
-                       mali_pp_core_description(group->pp_core),
+                       mali_pp_core_description(child->pp_core),
                        sched_clock(), mali_pp_job_get_tid(job),
                        0, mali_pp_job_get_id(job));
 #endif