]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/cpu/intel: Drop stray FAM6 check with new Intel CPU model defines
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 29 May 2024 18:36:05 +0000 (19:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jan 2025 09:32:11 +0000 (10:32 +0100)
commitff4dff0bbe7941c6a07f6e3ce9a63a6c9f125deb
treef278bba49b3860a876dcc36669771b8ebf48f5e7
parent0098f6a62ac704a7ca2418872c5c32b14d6fef5f
x86/cpu/intel: Drop stray FAM6 check with new Intel CPU model defines

commit 34b3fc558b537bdf99644dcde539e151716f6331 upstream.

The outer if () should have been dropped when switching to c->x86_vfm.

Fixes: 6568fc18c2f6 ("x86/cpu/intel: Switch to new Intel CPU model defines")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20240529183605.17520-1-andrew.cooper3@citrix.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/intel.c