powercap: intel_rapl: Replace deprecated CPU-hotplug functions
mainline inclusion from mainline-v5.15-rc1 commit 5d4c779c category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I92135 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d4c779cb62e676aedc278de910b4bb8ef65a5cc -------------------------------- The functions get_online_cpus() and put_online_cpus() have been deprecated during the CPU hotplug rework. They map directly to cpus_read_lock() and cpus_read_unlock(). Replace deprecated CPU-hotplug functions with the official version. The behavior remains unchanged. Intel-SIG: commit 5d4c779c powercap: intel_rapl: Replace deprecated CPU-hotplug functions Backport a dependency of Intel RAPL driver support on TPMI. Signed-off-by:Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ Xiaolong Wang: amend commit log ] Signed-off-by:
Xiaolong Wang <xiaolong.wang@intel.com>
Loading
Please sign in to comment