summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-12-03 14:57:26 +0000
committerjhb <jhb@FreeBSD.org>2003-12-03 14:57:26 +0000
commit4b61439e79ae8fc81441be32c6579c2ccd4cf476 (patch)
treef8ffe15c95979d5e31c1ed4fa7544bebc5db3414 /sys/alpha
parent907202ec1f57f255a3cb7245df54cf0e74dc5e43 (diff)
downloadFreeBSD-src-4b61439e79ae8fc81441be32c6579c2ccd4cf476.zip
FreeBSD-src-4b61439e79ae8fc81441be32c6579c2ccd4cf476.tar.gz
Fix all users of mp_maxid to use the same semantics, namely:
1) mp_maxid is a valid FreeBSD CPU ID in the range 0 .. MAXCPU - 1. 2) For all active CPUs in the system, PCPU_GET(cpuid) <= mp_maxid. Approved by: re (scottl) Tested on: i386, amd64, alpha
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/mp_machdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c
index 7595330..b18c79c 100644
--- a/sys/alpha/alpha/mp_machdep.c
+++ b/sys/alpha/alpha/mp_machdep.c
@@ -339,7 +339,6 @@ cpu_mp_setmaxid(void)
continue;
mp_maxid = i;
}
- mp_maxid++;
}
int
OpenPOWER on IntegriCloud