aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-09-16 05:09:12 -0400
committerBen Skeggs <bskeggs@redhat.com>2016-10-12 03:29:30 -0400
commit321c258e9192377cff2cb34b9d12fca0ee60b13f (patch)
tree056ac7053c4746d48f21af5724a62f11fbd898a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentd6c6035af7ccadd647832681d6b2a53d4c8705de (diff)
drm/nouveau/volt: use kernel's 64-bit signed division function
Doing direct 64 bit divisions in kernel code leads to references to undefined symbols on 32 bit architectures. Replace such divisions with calls to div64_s64 to make the module usable on 32 bit archs. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Karol Herbst <karolherbst@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions