summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/acpi/cppc.c
diff options
context:
space:
mode:
authorXin Li (Intel) <xin@zytor.com>2025-04-15 10:54:10 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2025-04-15 22:09:20 +0200
commit3aba0b40cacdfba4a604dd09315fa6cdbeb0ed90 (patch)
treefccb865e2c43490b676e7c2e3057301534b46bb4 /arch/x86/kernel/acpi/cppc.c
parent13327fada7ff0ae858e28b9515cd7d6ccb5fccc7 (diff)
x86/cpufeatures: Shorten X86_FEATURE_AMD_HETEROGENEOUS_CORES
Shorten X86_FEATURE_AMD_HETEROGENEOUS_CORES to X86_FEATURE_AMD_HTR_CORES to make the last column aligned consistently in the whole file. No functional changes. Suggested-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Xin Li (Intel) <xin@zytor.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/20250415175410.2944032-4-xin@zytor.com
Diffstat (limited to 'arch/x86/kernel/acpi/cppc.c')
-rw-r--r--arch/x86/kernel/acpi/cppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/cppc.c b/arch/x86/kernel/acpi/cppc.c
index 77bfb846490c..62ca714aae77 100644
--- a/arch/x86/kernel/acpi/cppc.c
+++ b/arch/x86/kernel/acpi/cppc.c
@@ -272,7 +272,7 @@ int amd_get_boost_ratio_numerator(unsigned int cpu, u64 *numerator)
}
/* detect if running on heterogeneous design */
- if (cpu_feature_enabled(X86_FEATURE_AMD_HETEROGENEOUS_CORES)) {
+ if (cpu_feature_enabled(X86_FEATURE_AMD_HTR_CORES)) {
switch (core_type) {
case TOPO_CPU_TYPE_UNKNOWN:
pr_warn("Undefined core type found for cpu %d\n", cpu);