Some style fixes for r209371.

Submitted by:	jhb@
This commit is contained in:
Alexander Motin 2010-06-22 16:20:10 +00:00
parent e723056a58
commit 25eb1b8c15
4 changed files with 9 additions and 5 deletions

View File

@ -706,9 +706,11 @@ init_secondary(void)
load_es(_udatasel); load_es(_udatasel);
load_fs(_ufssel); load_fs(_ufssel);
mtx_unlock_spin(&ap_boot_mtx); mtx_unlock_spin(&ap_boot_mtx);
/* wait until all the AP's are up */
/* Wait until all the AP's are up. */
while (smp_started == 0) while (smp_started == 0)
ia32_pause(); ia32_pause();
/* Start per-CPU event timers. */ /* Start per-CPU event timers. */
cpu_initclocks_ap(); cpu_initclocks_ap();

View File

@ -297,7 +297,6 @@ x86/cpufreq/p4tcc.c optional cpufreq
x86/isa/atpic.c optional atpic isa x86/isa/atpic.c optional atpic isa
x86/isa/atrtc.c standard x86/isa/atrtc.c standard
x86/isa/clock.c standard x86/isa/clock.c standard
x86/x86/timeevents.c standard
x86/isa/elcr.c standard x86/isa/elcr.c standard
x86/isa/isa.c standard x86/isa/isa.c standard
x86/isa/isa_dma.c standard x86/isa/isa_dma.c standard
@ -307,3 +306,4 @@ x86/x86/io_apic.c standard
x86/x86/local_apic.c standard x86/x86/local_apic.c standard
x86/x86/mca.c standard x86/x86/mca.c standard
x86/x86/msi.c optional pci x86/x86/msi.c optional pci
x86/x86/timeevents.c standard

View File

@ -381,7 +381,6 @@ x86/cpufreq/smist.c optional cpufreq
x86/isa/atpic.c optional atpic x86/isa/atpic.c optional atpic
x86/isa/atrtc.c optional atpic x86/isa/atrtc.c optional atpic
x86/isa/clock.c optional native x86/isa/clock.c optional native
x86/x86/timeevents.c standard
x86/isa/elcr.c standard x86/isa/elcr.c standard
x86/isa/isa.c optional isa x86/isa/isa.c optional isa
x86/isa/isa_dma.c optional isa x86/isa/isa_dma.c optional isa
@ -391,3 +390,4 @@ x86/x86/io_apic.c optional apic
x86/x86/local_apic.c optional apic x86/x86/local_apic.c optional apic
x86/x86/mca.c standard x86/x86/mca.c standard
x86/x86/msi.c optional apic pci x86/x86/msi.c optional apic pci
x86/x86/timeevents.c standard

View File

@ -728,13 +728,15 @@ init_secondary(void)
} }
mtx_unlock_spin(&ap_boot_mtx); mtx_unlock_spin(&ap_boot_mtx);
/* wait until all the AP's are up */
/* Wait until all the AP's are up. */
while (smp_started == 0) while (smp_started == 0)
ia32_pause(); ia32_pause();
/* Start per-CPU event timers. */ /* Start per-CPU event timers. */
cpu_initclocks_ap(); cpu_initclocks_ap();
/* enter the scheduler */ /* Enter the scheduler. */
sched_throw(NULL); sched_throw(NULL);
panic("scheduler returned us to %s", __func__); panic("scheduler returned us to %s", __func__);