svn commit: r262583 - head/sys/arm/arm
Ian Lepore
ian at FreeBSD.org
Fri Feb 28 00:17:04 UTC 2014
Author: ian
Date: Fri Feb 28 00:17:03 2014
New Revision: 262583
URL: http://svnweb.freebsd.org/changeset/base/262583
Log:
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.
Modified:
head/sys/arm/arm/mp_machdep.c
Modified: head/sys/arm/arm/mp_machdep.c
==============================================================================
--- head/sys/arm/arm/mp_machdep.c Thu Feb 27 23:17:00 2014 (r262582)
+++ head/sys/arm/arm/mp_machdep.c Fri Feb 28 00:17:03 2014 (r262583)
@@ -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
More information about the svn-src-all
mailing list