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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to