summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2025-03-07 00:45:16 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2025-03-07 10:49:35 +0300
commitfae8cab4ba3a76bb883eca176bc442eb5e6d581e (patch)
tree97ba66dcb3858291ed02b2c41c35b634228fa709 /lib/debugobjects.c
parent143d75583f2427f3a97dba62413c4f0604867ebf (diff)
downloadlinux-fae8cab4ba3a76bb883eca176bc442eb5e6d581e.tar.xz
media: platform: synopsys: hdmirx: Fix 64-bit division for 32-bit targets
The build fails for 32-bit targets with: arm-linux-gnueabi-ld: drivers/media/platform/synopsys/hdmirx/snps_hdmirx.o: in function `hdmirx_get_timings': snps_hdmirx.c:(.text.hdmirx_get_timings+0x46c): undefined reference to `__aeabi_uldivmod' bt->pixelclock is __u64, which causes the compiler to emit a libcall for 64-bit division. Use the optimized kernel helper, div_u64(), to resolve this. Fixes: 7b59b132ad43 ("media: platform: synopsys: Add support for HDMI input driver") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions