summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2001-07-26 18:47:46 +0000
committerbmilekic <bmilekic@FreeBSD.org>2001-07-26 18:47:46 +0000
commit0caeab3ccdc5926c530383c04c96653559f47400 (patch)
treec92cd4663cb459d84696efa19cbdcbe5005277c8 /sys/ia64
parentd3c6cce7de3c0e2296ad3aaaec504d56bd72ca1b (diff)
downloadFreeBSD-src-0caeab3ccdc5926c530383c04c96653559f47400.zip
FreeBSD-src-0caeab3ccdc5926c530383c04c96653559f47400.tar.gz
- Do not handle the per-CPU containers in mbuf code as though the cpuids
were indices in a dense array. The cpuids are a sparse set and treat them as such, setting up containers only for CPUs activated during mb_init(). - Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse map, in accordance with the above. This allows us to properly boot with certain CPUs disactivated. However, if we later decide to re-activate said CPUs, we will barf until we decide to implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU containers to get configured on their activation. Reported by: mjacob Partially (sys/ diffs) Submitted by: mjacob
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/mp_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ia64/ia64/mp_machdep.c b/sys/ia64/ia64/mp_machdep.c
index d97c551..b46819d 100644
--- a/sys/ia64/ia64/mp_machdep.c
+++ b/sys/ia64/ia64/mp_machdep.c
@@ -71,6 +71,7 @@ SYSCTL_INT(_machdep, OID_AUTO, forward_irq_enabled, CTLFLAG_RW,
int
cpu_mp_probe()
{
+ all_cpus = 1; /* Needed for MB init code */
return (0);
}
OpenPOWER on IntegriCloud