x86, ACPI: rename init_freq_invariance_cppc() to arch_init_invariance_cppc()
authorIonela Voinescu <ionela.voinescu@arm.com>
Thu, 10 Mar 2022 14:54:49 +0000 (14:54 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Mar 2022 19:21:58 +0000 (20:21 +0100)
commit1132e6de11cfc334b44f609792664f1bc3055c52
tree1f608c6ce94aee7d5dc83ff2a9c76a7d160fd593
parente702196bf85778f2c5527ca47f33ef2e2fca8297
x86, ACPI: rename init_freq_invariance_cppc() to arch_init_invariance_cppc()

init_freq_invariance_cppc() was called in acpi_cppc_processor_probe(),
after CPU performance information and controls were populated from the
per-cpu _CPC objects.

But these _CPC objects provide information that helps with both CPU
(u-arch) and frequency invariance. Therefore, change the function name
to a more generic one, while adding the arch_ prefix, as this function
is expected to be defined differently by different architectures.

Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/include/asm/topology.h
drivers/acpi/cppc_acpi.c