diff options
author | 2025-02-18 13:41:50 +0100 | |
---|---|---|
committer | 2025-03-03 16:03:48 +0100 | |
commit | 23e0832d6d7be2d3c713f9390c060b6f1c48bf36 (patch) | |
tree | 94ef4bf43df09e09bc765f8b577ce61dd9e3a422 | |
parent | drm/imagination: Fix timestamps in firmware traces (diff) | |
download | wireguard-linux-23e0832d6d7be2d3c713f9390c060b6f1c48bf36.tar.xz wireguard-linux-23e0832d6d7be2d3c713f9390c060b6f1c48bf36.zip |
drm/sched: Fix preprocessor guard
When writing the header guard for gpu_scheduler_trace.h, a typo,
apparently, occurred.
Fix the typo and document the scope of the guard.
Fixes: 353da3c520b4 ("drm/amdgpu: add tracepoint for scheduler (v2)")
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250218124149.118002-2-phasta@kernel.org
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/scheduler/gpu_scheduler_trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h index c75302ca3427..f56e77e7f6d0 100644 --- a/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h +++ b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h @@ -21,7 +21,7 @@ * */ -#if !defined(_GPU_SCHED_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) +#if !defined(_GPU_SCHED_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ) #define _GPU_SCHED_TRACE_H_ #include <linux/stringify.h> @@ -106,7 +106,7 @@ TRACE_EVENT(drm_sched_job_wait_dep, __entry->seqno) ); -#endif +#endif /* _GPU_SCHED_TRACE_H_ */ /* This part must be outside protection */ #undef TRACE_INCLUDE_PATH |