[Intel-gfx] [PATCH] drm/i915/gtt: Include asm/smp.h

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 21 09:39:05 UTC 2019


We need asm/smp.h for wbinvd_on_all_cpus()

Reported-by: kbuild-all at 01.org
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld at intel.com>
---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index c9a4690bf8b1..14eef8f8d16a 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -32,6 +32,7 @@
 #include <linux/stop_machine.h>
 
 #include <asm/set_memory.h>
+#include <asm/smp.h>
 
 #include <drm/i915_drm.h>
 
-- 
2.23.0.rc1



More information about the Intel-gfx mailing list