]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: Use u64 divide macro for round up division
authorMikita Lipski <mikita.lipski@amd.com>
Mon, 13 Jan 2020 13:15:19 +0000 (08:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:16:43 +0000 (10:16 -0500)
commit1636c6b2903d20b72ea6df91c43c46959df2de49
treeebe8b0acf2be5ee2c343f7c40c282e0e8e4f71fa
parent76b69c63b6a9b86d57a85dbc8f8329a749e26593
drm/amdgpu/display: Use u64 divide macro for round up division

[why]
Fix compilation warnings on i386 architecture:
undefined reference to `__udivdi3'
[how]
Switch DIV_ROUND_UP to DIV64_U64_ROUND_UP

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c