aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-04-16 18:25:07 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:07 -0400
commit72e76be2fedb4db320a4855d870f731c1242a9d3 (patch)
treee81ec1181cba1c29eaa898d3b474301b8dc2d298 /arch/x86_64
parent3a848f632f86f1602094e6172cdc05c048042d7a (diff)
[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>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/kernel/nmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/nmi.c b/arch/x86_64/kernel/nmi.c
index d9867de6a626..6ec5217f4b73 100644
--- a/arch/x86_64/kernel/nmi.c
+++ b/arch/x86_64/kernel/nmi.c
@@ -336,7 +336,7 @@ void setup_apic_nmi_watchdog(void)
336{ 336{
337 switch (boot_cpu_data.x86_vendor) { 337 switch (boot_cpu_data.x86_vendor) {
338 case X86_VENDOR_AMD: 338 case X86_VENDOR_AMD:
339 if (boot_cpu_data.x86 < 6) 339 if (boot_cpu_data.x86 != 15)
340 return; 340 return;
341 if (strstr(boot_cpu_data.x86_model_id, "Screwdriver")) 341 if (strstr(boot_cpu_data.x86_model_id, "Screwdriver"))
342 return; 342 return;