tree e81ec1181cba1c29eaa898d3b474301b8dc2d298
parent 3a848f632f86f1602094e6172cdc05c048042d7a
author Andi Kleen <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:07 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sun, 17 Apr 2005 05:25:07 -0700

[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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 x86_64/kernel/nmi.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: arch/x86_64/kernel/nmi.c
===================================================================
--- d2082fe5f580f2b00db04659c78f6a7d309d1a1b/arch/x86_64/kernel/nmi.c  
(mode:100644 sha1:d9867de6a6263bfbc8843e6798bef6f44a1c7eec)
+++ e81ec1181cba1c29eaa898d3b474301b8dc2d298/arch/x86_64/kernel/nmi.c  
(mode:100644 sha1:6ec5217f4b73291fdf515a9d8b218452fd55acb5)
@@ -336,7 +336,7 @@
 {
        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;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to