mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
4d1cd1443d
When the ENERGY_MODEL and DTPM_CPU are enabled but actually without
any energy model, at cpu hotplug time, the dead cpuhp callback fails
leading to the warning.
Actually, the check could be simplified and we only do an action if
the dtpm cpu is enabled, otherwise we bail out without error.
Fixes:
|
||
---|---|---|
.. | ||
dtpm_cpu.c | ||
dtpm.c | ||
idle_inject.c | ||
intel_rapl_common.c | ||
intel_rapl_msr.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |