Browse Source

x86: fix nmi_watchdog=2 on Pentium-D CPUs

implement nmi_watchdog=2 on this class of CPUs:

  cpu family      : 15
  model           : 6
  model name      : Intel(R) Pentium(R) D CPU 3.00GHz

the watchdog's ->setup() method is safe anyway, so if the CPU
cannot support it we'll bail out safely.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 năm trước cách đây
mục cha
commit
4f14bdef41
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      arch/x86/kernel/cpu/perfctr-watchdog.c

+ 0 - 3
arch/x86/kernel/cpu/perfctr-watchdog.c

@@ -652,9 +652,6 @@ static void probe_nmi_watchdog(void)
 			wd_ops = &p6_wd_ops;
 			break;
 		case 15:
-			if (boot_cpu_data.x86_model > 0x4)
-				return;
-
 			wd_ops = &p4_wd_ops;
 			break;
 		default: