summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-02-28 00:17:03 +0000
committerian <ian@FreeBSD.org>2014-02-28 00:17:03 +0000
commitf1b5b2367675402d784f8cf2a46667cddb030c65 (patch)
treeb7527e3ffbed9e29bbddc54c262251ebbccee3aa /sys/arm
parent67c7973b9f968be0e6d0d606bbc5a8d1b33998f7 (diff)
downloadFreeBSD-src-f1b5b2367675402d784f8cf2a46667cddb030c65.zip
FreeBSD-src-f1b5b2367675402d784f8cf2a46667cddb030c65.tar.gz
All our current ARM multi-core systems have all cores in one package with
a shared L2 cache, reflect that in the common cpu_topo() routine.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/mp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/mp_machdep.c b/sys/arm/arm/mp_machdep.c
index c9561c1..0d6a0fc 100644
--- a/sys/arm/arm/mp_machdep.c
+++ b/sys/arm/arm/mp_machdep.c
@@ -372,7 +372,7 @@ struct cpu_group *
cpu_topo(void)
{
- return (smp_topo_1level(CG_SHARE_L2, 1, 0));
+ return (smp_topo_1level(CG_SHARE_L2, mp_ncpus, 0));
}
void
OpenPOWER on IntegriCloud