aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/nmi.c2
-rw-r--r--arch/x86_64/kernel/nmi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/nmi.c b/arch/i386/kernel/nmi.c
index 851f3b1c5b1c..a98ba88a8c0c 100644
--- a/arch/i386/kernel/nmi.c
+++ b/arch/i386/kernel/nmi.c
@@ -328,7 +328,7 @@ static int __init check_nmi_watchdog(void)
328 for_each_possible_cpu(cpu) 328 for_each_possible_cpu(cpu)
329 prev_nmi_count[cpu] = per_cpu(irq_stat, cpu).__nmi_count; 329 prev_nmi_count[cpu] = per_cpu(irq_stat, cpu).__nmi_count;
330 local_irq_enable(); 330 local_irq_enable();
331 mdelay((10*1000)/nmi_hz); // wait 10 ticks 331 mdelay((20*1000)/nmi_hz); // wait 20 ticks
332 332
333 for_each_possible_cpu(cpu) { 333 for_each_possible_cpu(cpu) {
334#ifdef CONFIG_SMP 334#ifdef CONFIG_SMP
diff --git a/arch/x86_64/kernel/nmi.c b/arch/x86_64/kernel/nmi.c
index 17cf2d6b5e99..a90996c27dc8 100644
--- a/arch/x86_64/kernel/nmi.c
+++ b/arch/x86_64/kernel/nmi.c
@@ -317,7 +317,7 @@ int __init check_nmi_watchdog (void)
317 for (cpu = 0; cpu < NR_CPUS; cpu++) 317 for (cpu = 0; cpu < NR_CPUS; cpu++)
318 counts[cpu] = cpu_pda(cpu)->__nmi_count; 318 counts[cpu] = cpu_pda(cpu)->__nmi_count;
319 local_irq_enable(); 319 local_irq_enable();
320 mdelay((10*1000)/nmi_hz); // wait 10 ticks 320 mdelay((20*1000)/nmi_hz); // wait 20 ticks
321 321
322 for_each_online_cpu(cpu) { 322 for_each_online_cpu(cpu) {
323 if (!per_cpu(nmi_watchdog_ctlblk, cpu).enabled) 323 if (!per_cpu(nmi_watchdog_ctlblk, cpu).enabled)