svn commit: r215002 - in head/sys: amd64/acpica amd64/amd64 i386/acpica

John Baldwin jhb at FreeBSD.org
Mon Nov 8 20:05:22 UTC 2010


Author: jhb
Date: Mon Nov  8 20:05:22 2010
New Revision: 215002
URL: http://svn.freebsd.org/changeset/base/215002

Log:
  A few small style and whitespace fixes.

Modified:
  head/sys/amd64/acpica/madt.c
  head/sys/amd64/amd64/mp_machdep.c
  head/sys/i386/acpica/madt.c

Modified: head/sys/amd64/acpica/madt.c
==============================================================================
--- head/sys/amd64/acpica/madt.c	Mon Nov  8 20:03:51 2010	(r215001)
+++ head/sys/amd64/acpica/madt.c	Mon Nov  8 20:05:22 2010	(r215002)
@@ -203,8 +203,7 @@ madt_register(void *dummy __unused)
 
 	apic_register_enumerator(&madt_enumerator);
 }
-SYSINIT(madt_register, SI_SUB_TUNABLES - 1, SI_ORDER_FIRST,
-    madt_register, NULL);
+SYSINIT(madt_register, SI_SUB_TUNABLES - 1, SI_ORDER_FIRST, madt_register, NULL);
 
 /*
  * Call the handler routine for each entry in the MADT table.

Modified: head/sys/amd64/amd64/mp_machdep.c
==============================================================================
--- head/sys/amd64/amd64/mp_machdep.c	Mon Nov  8 20:03:51 2010	(r215001)
+++ head/sys/amd64/amd64/mp_machdep.c	Mon Nov  8 20:05:22 2010	(r215002)
@@ -422,7 +422,7 @@ cpu_add(u_int apic_id, char boot_cpu)
 	}
 	if (mp_ncpus < MAXCPU) {
 		mp_ncpus++;
-		mp_maxid = mp_ncpus -1;
+		mp_maxid = mp_ncpus - 1;
 	}
 	if (bootverbose)
 		printf("SMP: Added CPU %d (%s)\n", apic_id, boot_cpu ? "BSP" :
@@ -445,7 +445,7 @@ cpu_mp_setmaxid(void)
 	else
 		KASSERT(mp_maxid >= mp_ncpus - 1,
 		    ("%s: counters out of sync: max %d, count %d", __func__,
-			mp_maxid, mp_ncpus));		
+			mp_maxid, mp_ncpus));
 }
 
 int

Modified: head/sys/i386/acpica/madt.c
==============================================================================
--- head/sys/i386/acpica/madt.c	Mon Nov  8 20:03:51 2010	(r215001)
+++ head/sys/i386/acpica/madt.c	Mon Nov  8 20:05:22 2010	(r215002)
@@ -95,7 +95,6 @@ static struct apic_enumerator madt_enume
 	madt_setup_io
 };
 
-
 /*
  * Look for an ACPI Multiple APIC Description Table ("APIC")
  */


More information about the svn-src-head mailing list