Skip to content

Commit 70a4fa3

Browse files
aeglij-intel
authored andcommitted
platform/x86: intel_turbo_max_3: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck <tony.luck@intel.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240531203706.233365-6-tony.luck@intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent fad2126 commit 70a4fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/platform/x86/intel/turbo_max_3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ static int itmt_legacy_cpu_online(unsigned int cpu)
114114
}
115115

116116
static const struct x86_cpu_id itmt_legacy_cpu_ids[] = {
117-
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, NULL),
118-
X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X, NULL),
117+
X86_MATCH_VFM(INTEL_BROADWELL_X, NULL),
118+
X86_MATCH_VFM(INTEL_SKYLAKE_X, NULL),
119119
{}
120120
};
121121

0 commit comments

Comments
 (0)