mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
0a7c2fda34
On 32-bit architectures, the 64-bit division leads to a link failure:
arm-linux-gnueabi-ld: drivers/clk/sophgo/clk-cv18xx-pll.o: in function `fpll_calc_rate':
clk-cv18xx-pll.c:(.text.fpll_calc_rate+0x26): undefined reference to `__aeabi_uldivmod'
This one is not called in a fast path, and there is already another div_u64()
variant used in the same function, so convert it to div64_u64_rem().
Fixes:
|
||
---|---|---|
.. | ||
clk-cv18xx-common.c | ||
clk-cv18xx-common.h | ||
clk-cv18xx-ip.c | ||
clk-cv18xx-ip.h | ||
clk-cv18xx-pll.c | ||
clk-cv18xx-pll.h | ||
clk-cv1800.c | ||
clk-cv1800.h | ||
Kconfig | ||
Makefile |