aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik_ih.c
diff options
context:
space:
mode:
authorKen Chalmers <[email protected]>2018-12-19 19:50:20 +0000
committerAlex Deucher <[email protected]>2019-01-14 20:04:45 +0000
commit32e61361b82e7ad016a83345f66ccc68865f63f4 (patch)
tree6e0dee55953f51af01b351c32a908edefab48737 /drivers/gpu/drm/amd/amdgpu/cik_ih.c
parentdrm/amd/display: fix compliler errors [-Werror,-Wmissing-braces] (diff)
downloadkernel-32e61361b82e7ad016a83345f66ccc68865f63f4.tar.gz
kernel-32e61361b82e7ad016a83345f66ccc68865f63f4.zip
drm/amd/display: Fix 64-bit division for 32-bit builds
[Why] 32-bit builds break when doing 64-bit division directly. [How] Use the div_u64() function instead to perform the division. Fixes: https://lists.freedesktop.org/archives/dri-devel/2018-December/201008.html Signed-off-by: Ken Chalmers <[email protected]> Reviewed-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_ih.c')
0 files changed, 0 insertions, 0 deletions