diff options
author | Mikita Lipski <mikita.lipski@amd.com> | 2020-01-10 14:31:52 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-10 16:34:20 -0500 |
commit | 485b747ea6ecf491bf07c69a4ea36c0ccf3c8435 (patch) | |
tree | 58cb3c48bb1f0ba2a76f1ffce27caa3a9092ca7f /include/drm | |
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>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions