]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Fix typo (s/ncpus/mp_ncpus/)
authortijl <tijl@FreeBSD.org>
Mon, 9 Nov 2015 22:12:29 +0000 (22:12 +0000)
committertijl <tijl@FreeBSD.org>
Mon, 9 Nov 2015 22:12:29 +0000 (22:12 +0000)
Reported by: bz

sys/arm/qemu/virt_mp.c

index 89a30c631f9d0ff9a56b33edb71706dd41d44c61..52e89435d63adc506baa986a17728d88a7bd661a 100644 (file)
@@ -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