aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlexandre Courbot <[email protected]>2016-09-16 09:09:12 +0000
committerBen Skeggs <[email protected]>2016-10-12 07:29:30 +0000
commit321c258e9192377cff2cb34b9d12fca0ee60b13f (patch)
tree056ac7053c4746d48f21af5724a62f11fbd898a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/nouveau/core: add missing header dependencies (diff)
downloadkernel-321c258e9192377cff2cb34b9d12fca0ee60b13f.tar.gz
kernel-321c258e9192377cff2cb34b9d12fca0ee60b13f.zip
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 <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions