mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
[PATCH] x86_64: Don't assume future AMD CPUs have K8 compatible performance counters
The NMI watchdog code did this incorrectly Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3a848f632f
commit
72e76be2fe
@ -336,7 +336,7 @@ void setup_apic_nmi_watchdog(void)
|
||||
{
|
||||
switch (boot_cpu_data.x86_vendor) {
|
||||
case X86_VENDOR_AMD:
|
||||
if (boot_cpu_data.x86 < 6)
|
||||
if (boot_cpu_data.x86 != 15)
|
||||
return;
|
||||
if (strstr(boot_cpu_data.x86_model_id, "Screwdriver"))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user