aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/kernel/apic.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
index 7a2c9cbdb511..2383bcf18c5d 100644
--- a/arch/i386/kernel/apic.c
+++ b/arch/i386/kernel/apic.c
@@ -493,8 +493,15 @@ void __init setup_boot_APIC_clock(void)
493 /* No broadcast on UP ! */ 493 /* No broadcast on UP ! */
494 if (num_possible_cpus() == 1) 494 if (num_possible_cpus() == 1)
495 return; 495 return;
496 } else 496 } else {
497 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; 497 /*
498 * If nmi_watchdog is set to IO_APIC, we need the
499 * PIT/HPET going. Otherwise register lapic as a dummy
500 * device.
501 */
502 if (nmi_watchdog != NMI_IO_APIC)
503 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
504 }
498 505
499 /* Setup the lapic or request the broadcast */ 506 /* Setup the lapic or request the broadcast */
500 setup_APIC_timer(); 507 setup_APIC_timer();