diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-10-18 15:10:10 +0000 |
---|---|---|
committer | Liviu Dudau <liviu.dudau@arm.com> | 2024-11-19 14:26:50 +0000 |
commit | 4b64b4a81fcd51f570c046cf904aef19ec756d45 (patch) | |
tree | 802ca012bb73d5283a48ded994958f2571094302 /drivers/s390/block | |
parent | 0811cc0baf368a94dc1d2f5900dfb7765d6a7661 (diff) |
drm/rockchip: avoid 64-bit division
Dividing a 64-bit integer prevents building this for 32-bit targets:
ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/rockchip/rockchipdrm.ko] undefined!
As this function is not performance criticial, just Use the div_u64() helper.
Fixes: 128a9bf8ace2 ("drm/rockchip: Add basic RK3588 HDMI output support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20241018151016.3496613-1-arnd@kernel.org
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/s390/block')
0 files changed, 0 insertions, 0 deletions