aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-08 04:13:33 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 03:13:14 -0400
commitab5a5be099cb20a1c006bf0e211c48502d7ebc44 (patch)
treea17b0e379705b8b32917a0ee53ceacc74badc231
parentff11571b25152edfb1eb0e6feb7e0009670fe4a5 (diff)
Revert "x86, io-apic: fix nmi_watchdog=1 bootup hang"
This reverts commit 2229ff84f01746d02fb6b79e156fb5cce48c908f. A better fix from Maciej will be merged.
-rw-r--r--arch/x86/kernel/apic_32.c6
-rw-r--r--arch/x86/kernel/apic_64.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 3cebf91d500f..4b99b1bdeb6c 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -541,13 +541,11 @@ void __init setup_boot_APIC_clock(void)
541 * PIT/HPET going. Otherwise register lapic as a dummy 541 * PIT/HPET going. Otherwise register lapic as a dummy
542 * device. 542 * device.
543 */ 543 */
544 if (nmi_watchdog != NMI_IO_APIC) { 544 if (nmi_watchdog != NMI_IO_APIC)
545 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; 545 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
546 } else { 546 else
547 printk(KERN_WARNING "APIC timer registered as dummy," 547 printk(KERN_WARNING "APIC timer registered as dummy,"
548 " due to nmi_watchdog=1!\n"); 548 " due to nmi_watchdog=1!\n");
549 timer_through_8259 = 1;
550 }
551 } 549 }
552 550
553 /* Setup the lapic or request the broadcast */ 551 /* Setup the lapic or request the broadcast */
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index 6cbc668a4c63..07fda23a9f76 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -413,13 +413,11 @@ void __init setup_boot_APIC_clock(void)
413 * PIT/HPET going. Otherwise register lapic as a dummy 413 * PIT/HPET going. Otherwise register lapic as a dummy
414 * device. 414 * device.
415 */ 415 */
416 if (nmi_watchdog != NMI_IO_APIC) { 416 if (nmi_watchdog != NMI_IO_APIC)
417 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; 417 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
418 } else { 418 else
419 printk(KERN_WARNING "APIC timer registered as dummy," 419 printk(KERN_WARNING "APIC timer registered as dummy,"
420 " due to nmi_watchdog=1!\n"); 420 " due to nmi_watchdog=1!\n");
421 timer_through_8259 = 1;
422 }
423 421
424 setup_APIC_timer(); 422 setup_APIC_timer();
425} 423}