forked from Minki/linux
8f50db4b5c
32-bit architectures do not support u64 divisions, so the macro
DIV_ROUND_CLOSEST is not adequate as the compiler will replace the
call to an unexisting function for the platform, leading to
unresolved references to symbols.
Fix this by using the compatible macros:
DIV64_U64_ROUND_CLOSEST and DIV_ROUND_CLOSEST_ULL.
Fixes:
|
||
---|---|---|
.. | ||
dtpm_cpu.c | ||
dtpm.c | ||
idle_inject.c | ||
intel_rapl_common.c | ||
intel_rapl_msr.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |