diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2025-06-14 10:55:55 -0700 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-09-23 10:54:29 +0200 |
| commit | 916aa36042db8ee230543ffe0d192f900e8b8c9f (patch) | |
| tree | 2fe8d66f31ef65061ff5eaa5441b21ace435b945 /scripts/gdb/linux/utils.py | |
| parent | be26ec8b1479a0bb1888ed93d7bb5ce4d8eaee1e (diff) | |
clocksource/drivers/timer-tegra186: Avoid 64-bit divide operation
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.
Fixes: 28c842c8b0f5 ("clocksource/drivers/timer-tegra186: Add WDIOC_GETTIMELEFT support")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Cc: Pohsun Su <pohsuns@nvidia.com>
Cc: Robert Lin <robelin@nvidia.com>
Link: https://lore.kernel.org/r/20250614175556.922159-1-linux@roeck-us.net
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
