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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Felix Kuehling <Felix.Kuehling at amd.com>

But isn't that a bug in the SPARC kernel headers? Shouldn't they handle
that dependency rather than putting the responsibility on unsuspecting
users of mmu_context.h? I sent a question about this to Pavel Tatashin
on Aug 22, but haven't heard back from him.

Regards,
  Felix


On 2017-09-04 04:54 AM, Oded Gabbay wrote:
> 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>
>  



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux