x86: APIC/UP: Remove redundant NMI watchdog downgrade
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 6 Jun 2008 02:27:56 +0000 (03:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 07:13:18 +0000 (09:13 +0200)
For the UP case the NMI watchdog downgrade is done consistently in
APIC_init_uniprocessor() now.  Remove redundant code used only when
BIOS-disabled local APIC is activated.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c

index 26e7a62e9ab6fdb4cf3f69a0fba493dc7b0555cb..126e87153b3991ed7974980c5bfe297b91b85a2a 100644 (file)
@@ -1154,9 +1154,6 @@ static int __init detect_init_APIC(void)
        if (l & MSR_IA32_APICBASE_ENABLE)
                mp_lapic_addr = l & MSR_IA32_APICBASE_BASE;
 
-       if (nmi_watchdog != NMI_NONE && nmi_watchdog != NMI_DISABLED)
-               nmi_watchdog = NMI_LOCAL_APIC;
-
        printk(KERN_INFO "Found and enabled local APIC!\n");
 
        apic_pm_activate();