svn commit: r209432 - in head/sys: amd64/amd64 conf i386/i386
Alexander Motin
mav at FreeBSD.org
Tue Jun 22 16:20:11 UTC 2010
Author: mav
Date: Tue Jun 22 16:20:10 2010
New Revision: 209432
URL: http://svn.freebsd.org/changeset/base/209432
Log:
Some style fixes for r209371.
Submitted by: jhb@
Modified:
head/sys/amd64/amd64/mp_machdep.c
head/sys/conf/files.amd64
head/sys/conf/files.i386
head/sys/i386/i386/mp_machdep.c
Modified: head/sys/amd64/amd64/mp_machdep.c
==============================================================================
--- head/sys/amd64/amd64/mp_machdep.c Tue Jun 22 16:10:48 2010 (r209431)
+++ head/sys/amd64/amd64/mp_machdep.c Tue Jun 22 16:20:10 2010 (r209432)
@@ -706,9 +706,11 @@ init_secondary(void)
load_es(_udatasel);
load_fs(_ufssel);
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)
ia32_pause();
+
/* Start per-CPU event timers. */
cpu_initclocks_ap();
Modified: head/sys/conf/files.amd64
==============================================================================
--- head/sys/conf/files.amd64 Tue Jun 22 16:10:48 2010 (r209431)
+++ head/sys/conf/files.amd64 Tue Jun 22 16:20:10 2010 (r209432)
@@ -297,7 +297,6 @@ x86/cpufreq/p4tcc.c optional cpufreq
x86/isa/atpic.c optional atpic isa
x86/isa/atrtc.c standard
x86/isa/clock.c standard
-x86/x86/timeevents.c standard
x86/isa/elcr.c standard
x86/isa/isa.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/mca.c standard
x86/x86/msi.c optional pci
+x86/x86/timeevents.c standard
Modified: head/sys/conf/files.i386
==============================================================================
--- head/sys/conf/files.i386 Tue Jun 22 16:10:48 2010 (r209431)
+++ head/sys/conf/files.i386 Tue Jun 22 16:20:10 2010 (r209432)
@@ -381,7 +381,6 @@ x86/cpufreq/smist.c optional cpufreq
x86/isa/atpic.c optional atpic
x86/isa/atrtc.c optional atpic
x86/isa/clock.c optional native
-x86/x86/timeevents.c standard
x86/isa/elcr.c standard
x86/isa/isa.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/mca.c standard
x86/x86/msi.c optional apic pci
+x86/x86/timeevents.c standard
Modified: head/sys/i386/i386/mp_machdep.c
==============================================================================
--- head/sys/i386/i386/mp_machdep.c Tue Jun 22 16:10:48 2010 (r209431)
+++ head/sys/i386/i386/mp_machdep.c Tue Jun 22 16:20:10 2010 (r209432)
@@ -728,13 +728,15 @@ init_secondary(void)
}
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)
ia32_pause();
+
/* Start per-CPU event timers. */
cpu_initclocks_ap();
- /* enter the scheduler */
+ /* Enter the scheduler. */
sched_throw(NULL);
panic("scheduler returned us to %s", __func__);
More information about the svn-src-all
mailing list