mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00: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 |