On Sat, Jun 14, 2025 at 10:55:55AM -0700, Guenter Roeck wrote:
Building the driver on xtensa fails with
tensa-linux-ld: drivers/clocksource/timer-tegra186.o:
in function `tegra186_timer_remove':
timer-tegra186.c:(.text+0x350):
undefined reference to `__udivdi3'
Avoid the problem by rearranging the offending code to avoid the 64-bit
divide operation.
Hi Guenter,
Arnd posted a version which seems more complete.
https://lore.kernel.org/all/20250620111939.3395525-1-arnd@xxxxxxxxxx/