diff options
Diffstat (limited to 'arch/x86/kernel/cpu/perfctr-watchdog.c')
| -rw-r--r-- | arch/x86/kernel/cpu/perfctr-watchdog.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c index fb329e9f8494..d9f4ff8fcd69 100644 --- a/arch/x86/kernel/cpu/perfctr-watchdog.c +++ b/arch/x86/kernel/cpu/perfctr-watchdog.c | |||
| @@ -700,11 +700,10 @@ static void probe_nmi_watchdog(void) | |||
| 700 | { | 700 | { |
| 701 | switch (boot_cpu_data.x86_vendor) { | 701 | switch (boot_cpu_data.x86_vendor) { |
| 702 | case X86_VENDOR_AMD: | 702 | case X86_VENDOR_AMD: |
| 703 | if (boot_cpu_data.x86 != 6 && boot_cpu_data.x86 != 15 && | 703 | if (boot_cpu_data.x86 == 6 || |
| 704 | boot_cpu_data.x86 != 16 && boot_cpu_data.x86 != 17) | 704 | (boot_cpu_data.x86 >= 0xf && boot_cpu_data.x86 <= 0x15)) |
| 705 | return; | 705 | wd_ops = &k7_wd_ops; |
| 706 | wd_ops = &k7_wd_ops; | 706 | return; |
| 707 | break; | ||
| 708 | case X86_VENDOR_INTEL: | 707 | case X86_VENDOR_INTEL: |
| 709 | /* Work around where perfctr1 doesn't have a working enable | 708 | /* Work around where perfctr1 doesn't have a working enable |
| 710 | * bit as described in the following errata: | 709 | * bit as described in the following errata: |
