[PATCH] drm/amdgpu: include percpu.h to fix SPARC build

Oded Gabbay oded.gabbay at gmail.com
Mon Sep 4 08:54:32 UTC 2017


Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
index 8d689ab7e429..20bf9054e64e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
@@ -26,6 +26,7 @@
 #define AMDGPU_AMDKFD_H_INCLUDED
 
 #include <linux/types.h>
+#include <linux/percpu.h>
 #include <linux/mmu_context.h>
 #include <kgd_kfd_interface.h>
 
-- 
2.13.5



More information about the amd-gfx mailing list