diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 083e99d1b7df..f0a0624eea55 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -316,12 +316,6 @@ notrace static void __cpuinit start_secondary(void *unused) | |||
316 | */ | 316 | */ |
317 | check_tsc_sync_target(); | 317 | check_tsc_sync_target(); |
318 | 318 | ||
319 | if (nmi_watchdog == NMI_IO_APIC) { | ||
320 | legacy_pic->mask(0); | ||
321 | enable_NMI_through_LVT0(); | ||
322 | legacy_pic->unmask(0); | ||
323 | } | ||
324 | |||
325 | /* This must be done before setting cpu_online_mask */ | 319 | /* This must be done before setting cpu_online_mask */ |
326 | set_cpu_sibling_map(raw_smp_processor_id()); | 320 | set_cpu_sibling_map(raw_smp_processor_id()); |
327 | wmb(); | 321 | wmb(); |
@@ -1061,8 +1055,6 @@ static int __init smp_sanity_check(unsigned max_cpus) | |||
1061 | printk(KERN_INFO "SMP mode deactivated.\n"); | 1055 | printk(KERN_INFO "SMP mode deactivated.\n"); |
1062 | smpboot_clear_io_apic(); | 1056 | smpboot_clear_io_apic(); |
1063 | 1057 | ||
1064 | localise_nmi_watchdog(); | ||
1065 | |||
1066 | connect_bsp_APIC(); | 1058 | connect_bsp_APIC(); |
1067 | setup_local_APIC(); | 1059 | setup_local_APIC(); |
1068 | end_local_APIC_setup(); | 1060 | end_local_APIC_setup(); |
@@ -1196,7 +1188,6 @@ void __init native_smp_cpus_done(unsigned int max_cpus) | |||
1196 | #ifdef CONFIG_X86_IO_APIC | 1188 | #ifdef CONFIG_X86_IO_APIC |
1197 | setup_ioapic_dest(); | 1189 | setup_ioapic_dest(); |
1198 | #endif | 1190 | #endif |
1199 | check_nmi_watchdog(); | ||
1200 | mtrr_aps_init(); | 1191 | mtrr_aps_init(); |
1201 | } | 1192 | } |
1202 | 1193 | ||
@@ -1341,8 +1332,6 @@ int native_cpu_disable(void) | |||
1341 | if (cpu == 0) | 1332 | if (cpu == 0) |
1342 | return -EBUSY; | 1333 | return -EBUSY; |
1343 | 1334 | ||
1344 | if (nmi_watchdog == NMI_LOCAL_APIC) | ||
1345 | stop_apic_nmi_watchdog(NULL); | ||
1346 | clear_local_APIC(); | 1335 | clear_local_APIC(); |
1347 | 1336 | ||
1348 | cpu_disable_common(); | 1337 | cpu_disable_common(); |