Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 22:12:30 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290621 - head/sys/arm/qemu
Message-ID:  <201511092212.tA9MCUMi063013@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Nov  9 22:12:29 2015
New Revision: 290621
URL: https://svnweb.freebsd.org/changeset/base/290621

Log:
  Fix typo (s/ncpus/mp_ncpus/)
  
  Reported by:	bz

Modified:
  head/sys/arm/qemu/virt_mp.c

Modified: head/sys/arm/qemu/virt_mp.c
==============================================================================
--- head/sys/arm/qemu/virt_mp.c	Mon Nov  9 22:11:37 2015	(r290620)
+++ head/sys/arm/qemu/virt_mp.c	Mon Nov  9 22:12:29 2015	(r290621)
@@ -71,7 +71,7 @@ platform_mp_setmaxid(void)
 	mp_ncpus = ofw_cpu_early_foreach(virt_maxid, true);
 	if (mp_ncpus < 1)
 		mp_ncpus = 1;
-	mp_ncpus = MIN(ncpus, MAXCPU);
+	mp_ncpus = MIN(mp_ncpus, MAXCPU);
 }
 
 static boolean_t



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