Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 00:17:03 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262583 - head/sys/arm/arm
Message-ID:  <201402280017.s1S0H3nB064530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280017.s1S0H3nB064530>