[PATCH] drm/amdgpu: include percpu.h to fix SPARC build
Oded Gabbay
oded.gabbay at gmail.com
Tue Sep 5 18:12:15 UTC 2017
On Tue, Sep 5, 2017 at 6:48 PM, Felix Kuehling <felix.kuehling at amd.com> wrote:
> 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
>
You are probably right, but I because I don't know how much the SPARC
people are responsive, I thought that it wouldn't be that bad to fix
it in our code.
Oded
>
> 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>
>>
>
More information about the amd-gfx
mailing list