aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Zhou <[email protected]>2020-01-09 09:23:03 +0800
committerChris Wilson <[email protected]>2020-01-09 21:16:42 +0000
commit8801eb48400675332ce082a754ffc687b283595e (patch)
treeca98f0c18fc8e949b41c74ded07a1e3cd678a6b4
parent5c34ba27cbbbfa61e6491309451d7bfc91507cac (diff)
drm/i915/gtt: add missing include file asm/smp.h
Fix build error: drivers/gpu/drm/i915/gt/intel_ggtt.c: In function ggtt_restore_mappings: drivers/gpu/drm/i915/gt/intel_ggtt.c:1239:3: error: implicit declaration of function wbinvd_on_all_cpus; did you mean wrmsr_on_cpus? [-Werror=implicit-function-declaration] wbinvd_on_all_cpus(); ^~~~~~~~~~~~~~~~~~ wrmsr_on_cpus Reported-by: Hulk Robot <[email protected]> Signed-off-by: Chen Zhou <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/i915/gt/intel_ggtt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt.c b/drivers/gpu/drm/i915/gt/intel_ggtt.c
index 99189cdba8a9..795cd267e28e 100644
--- a/drivers/gpu/drm/i915/gt/intel_ggtt.c
+++ b/drivers/gpu/drm/i915/gt/intel_ggtt.c
@@ -6,6 +6,7 @@
#include <linux/stop_machine.h>
#include <asm/set_memory.h>
+#include <asm/smp.h>
#include "intel_gt.h"
#include "i915_drv.h"