commit | 485b747ea6ecf491bf07c69a4ea36c0ccf3c8435 | [log] [tgz] |
---|---|---|
author | Mikita Lipski <mikita.lipski@amd.com> | Fri Jan 10 14:31:52 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jan 10 16:34:20 2020 -0500 |
tree | 58cb3c48bb1f0ba2a76f1ffce27caa3a9092ca7f | |
parent | 9edb435aed968a2c792f6d847f524587697edf37 [diff] |
drm/amd/display: Fix compilation warnings on i386 [why] Compilation error "undefined reference to `__udivdi3'" was thrown on i386 architecture. [how] Use div_u64 for unsigned long division instead of a divide operator. Reported-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mikita Lipski <mikita.lipski@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>