Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2015 00:24:22 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r286052 - stable/10/sys/arm/allwinner/a20
Message-ID:  <201507300024.t6U0OM7v022014@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Thu Jul 30 00:24:21 2015
New Revision: 286052
URL: https://svnweb.freebsd.org/changeset/base/286052

Log:
  MFC: r281752
  
  Make a comment reflect reality.

Modified:
  stable/10/sys/arm/allwinner/a20/a20_mp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/arm/allwinner/a20/a20_mp.c
==============================================================================
--- stable/10/sys/arm/allwinner/a20/a20_mp.c	Thu Jul 30 00:13:20 2015	(r286051)
+++ stable/10/sys/arm/allwinner/a20/a20_mp.c	Thu Jul 30 00:24:21 2015	(r286052)
@@ -25,6 +25,7 @@
 
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/bus.h>
@@ -68,7 +69,7 @@ platform_mp_setmaxid(void)
 	if (mp_ncpus != 0)
 		return;
 
-	/* Read current CP15 Cache Size ID Register */
+	/* Read the number of cores from the CP15 L2 Control Register. */
 	__asm __volatile("mrc p15, 1, %0, c9, c0, 2" : "=r" (ncpu));
 	ncpu = ((ncpu >> 24) & 0x3) + 1;
 



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