Skip to content

Commit

Permalink
x86: move local APIC timer init to the end of start_secondary()
Browse files Browse the repository at this point in the history
Preparatory patch for the AMD C1E wreckage fixup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed Oct 14, 2007
1 parent 1595f45 commit 3ac508b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions arch/x86/kernel/smpboot_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,6 @@ void __cpuinit start_secondary(void)
*/
check_tsc_sync_target();

Dprintk("cpu %d: setting up apic clock\n", smp_processor_id());
setup_secondary_APIC_clock();

Dprintk("cpu %d: enabling apic timer\n", smp_processor_id());

if (nmi_watchdog == NMI_IO_APIC) {
disable_8259A_irq(0);
enable_NMI_through_LVT0(NULL);
Expand Down Expand Up @@ -374,6 +369,8 @@ void __cpuinit start_secondary(void)

unlock_ipi_call_lock();

setup_secondary_APIC_clock();

cpu_idle();
}

Expand Down

0 comments on commit 3ac508b

Please sign in to comment.