diff options
author | ian <ian@FreeBSD.org> | 2014-02-28 00:17:03 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-28 00:17:03 +0000 |
commit | f1b5b2367675402d784f8cf2a46667cddb030c65 (patch) | |
tree | b7527e3ffbed9e29bbddc54c262251ebbccee3aa /sys/arm | |
parent | 67c7973b9f968be0e6d0d606bbc5a8d1b33998f7 (diff) | |
download | FreeBSD-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.c | 2 |
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 |