From eb97fc52a96887d9d85cbdc18eaa7d72eade43b2 Mon Sep 17 00:00:00 2001 From: Vaibhav Kachore Date: Mon, 20 Aug 2018 14:48:33 +0530 Subject: gpu: nvgpu: remove use of nvgpu_ctxsw_trace_entry - Remove the usage of nvgpu_ctxsw_trace_entry splattered across nvgpu, and replace with a struct defined in common code. The usage is still inside Linux, but this helps the subsequent unification efforts, e.g. to unify the fecs trace path. - Remove "asm/barrier.h" as "nvgpu/barrier.h" is already included. EVLR-3078 Change-Id: Iabfb105b891b0078ed326a8047ef14ebe1888cf2 Signed-off-by: Vaibhav Kachore Reviewed-on: https://git-master.nvidia.com/r/1803208 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c index 78b753d1..50077a62 100644 --- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c @@ -20,7 +20,6 @@ * DEALINGS IN THE SOFTWARE. */ -#include #ifdef CONFIG_DEBUG_FS #include #endif @@ -259,7 +258,7 @@ static pid_t gk20a_fecs_trace_find_pid(struct gk20a *g, u32 context_ptr) static int gk20a_fecs_trace_ring_read(struct gk20a *g, int index) { int i; - struct nvgpu_ctxsw_trace_entry entry = { }; + struct nvgpu_gpu_ctxsw_trace_entry entry = { }; struct gk20a_fecs_trace *trace = g->fecs_trace; pid_t cur_pid; pid_t new_pid; -- cgit v1.2.2