diff options
author | Arnd Bergmann <[email protected]> | 2024-10-18 15:10:10 +0000 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2024-11-22 10:11:39 +0100 |
commit | 818956c76517e127fad8cf02cd29866e0a852072 (patch) | |
tree | 43f8ecc00752969047d4a9c0b9e95ecc12023611 /tools/perf/scripts/python/futex-contention.py | |
parent | a163b895077861598be48c1cf7f4a88413c28b22 (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 <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Liviu Dudau <[email protected]>
(cherry picked from commit 4b64b4a81fcd51f570c046cf904aef19ec756d45)
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions