diff options
author | jhb <jhb@FreeBSD.org> | 2010-11-08 20:05:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-11-08 20:05:22 +0000 |
commit | e4b52a71f4e06794195e3d8a7e19a214fb45b244 (patch) | |
tree | 892d5340ef2af815ee1a9054a5671950bd3a39ab /sys/amd64/amd64/mp_machdep.c | |
parent | 9c0fca4e23bf4549135ef610e2e723e8f04e5fda (diff) | |
download | FreeBSD-src-e4b52a71f4e06794195e3d8a7e19a214fb45b244.zip FreeBSD-src-e4b52a71f4e06794195e3d8a7e19a214fb45b244.tar.gz |
A few small style and whitespace fixes.
Diffstat (limited to 'sys/amd64/amd64/mp_machdep.c')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index f2951da..07380ff 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -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 |