From owner-svn-src-head@FreeBSD.ORG Mon Nov 8 20:05:22 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FB9F106564A; Mon, 8 Nov 2010 20:05:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 534448FC33; Mon, 8 Nov 2010 20:05:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oA8K5MvX050320; Mon, 8 Nov 2010 20:05:22 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oA8K5MxV050316; Mon, 8 Nov 2010 20:05:22 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201011082005.oA8K5MxV050316@svn.freebsd.org> From: John Baldwin Date: Mon, 8 Nov 2010 20:05:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215002 - in head/sys: amd64/acpica amd64/amd64 i386/acpica X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 20:05:22 -0000 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") */