diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-06-05 22:27:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 03:13:18 -0400 |
commit | 19662027488946e34dd54d3bb408fa3307681d7d (patch) | |
tree | d2e3c4fd1d2ffaf827f37ec6ee68fa477bf806e9 /arch/x86/kernel/apic_32.c | |
parent | acae7d906f2f81d814e9c3730eeb19dfd3bf3bb4 (diff) |
x86: APIC/UP: Remove redundant NMI watchdog downgrade
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>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r-- | arch/x86/kernel/apic_32.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index 26e7a62e9ab6..126e87153b39 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c | |||
@@ -1154,9 +1154,6 @@ static int __init detect_init_APIC(void) | |||
1154 | if (l & MSR_IA32_APICBASE_ENABLE) | 1154 | if (l & MSR_IA32_APICBASE_ENABLE) |
1155 | mp_lapic_addr = l & MSR_IA32_APICBASE_BASE; | 1155 | mp_lapic_addr = l & MSR_IA32_APICBASE_BASE; |
1156 | 1156 | ||
1157 | if (nmi_watchdog != NMI_NONE && nmi_watchdog != NMI_DISABLED) | ||
1158 | nmi_watchdog = NMI_LOCAL_APIC; | ||
1159 | |||
1160 | printk(KERN_INFO "Found and enabled local APIC!\n"); | 1157 | printk(KERN_INFO "Found and enabled local APIC!\n"); |
1161 | 1158 | ||
1162 | apic_pm_activate(); | 1159 | apic_pm_activate(); |