aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorLaura Abbott <[email protected]>2017-05-08 22:58:17 +0000
committerLinus Torvalds <[email protected]>2017-05-09 00:15:14 +0000
commited3ba07946631f5c3a091fb37b018f7570f242b1 (patch)
tree7f2a531a6007054be42292dd2bf8168ac07db82b /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentagp: use set_memory.h header (diff)
downloadkernel-ed3ba07946631f5c3a091fb37b018f7570f242b1.tar.gz
kernel-ed3ba07946631f5c3a091fb37b018f7570f242b1.zip
drm: use set_memory.h header
set_memory_* functions have moved to set_memory.h. Switch to this explicitly. [[email protected]: track drivers/gpu/drm/i915/i915_gem_gtt.c linux-next changes] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Laura Abbott <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
index 6d691abe889c..2ee327d69775 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
@@ -27,6 +27,9 @@
*/
#include <drm/drmP.h>
#include <drm/amdgpu_drm.h>
+#ifdef CONFIG_X86
+#include <asm/set_memory.h>
+#endif
#include "amdgpu.h"
/*