summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-09-16 18:09:12 +0900
committerBen Skeggs <bskeggs@redhat.com>2016-10-12 17:29:30 +1000
commit321c258e9192377cff2cb34b9d12fca0ee60b13f (patch)
tree056ac7053c4746d48f21af5724a62f11fbd898a4 /drivers/gpu/drm/amd/amdgpu
parentd6c6035af7ccadd647832681d6b2a53d4c8705de (diff)
downloadlinux-321c258e9192377cff2cb34b9d12fca0ee60b13f.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions