From: chenzhen Date: Wed, 27 Jul 2016 06:52:49 +0000 (+0800) Subject: MALI: utgard: rockchip: fix a compile error when GPU_TRACEPOINTS enabled X-Git-Tag: firefly_0821_release~2066 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=78da86a86ac9673c52c93a61da0e91e1ad6b4177;p=firefly-linux-kernel-4.4.55.git MALI: utgard: rockchip: fix a compile error when GPU_TRACEPOINTS enabled Change-Id: Ib8dafc9116b1b1a95dfe687faeb9889e0ab66d3c Signed-off-by: chenzhen --- diff --git a/drivers/gpu/arm/mali400/mali/common/mali_group.c b/drivers/gpu/arm/mali400/mali/common/mali_group.c index f0ed5223cc2a..1b5942a5245b 100755 --- a/drivers/gpu/arm/mali400/mali/common/mali_group.c +++ b/drivers/gpu/arm/mali400/mali/common/mali_group.c @@ -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