From 96be897ce1e8a19c5a802c09f4d55a7c17ed9894 Mon Sep 17 00:00:00 2001 From: scottl Date: Wed, 7 May 2014 20:28:27 +0000 Subject: Merge r264984 Retire smp_active. It was racey and caused demonstrated problems with the cpufreq code. Replace its use with smp_started. There's at least one userland tool that still looks at the kern.smp.active sysctl, so preserve it but point it to smp_started as well. Obtained from: Netflix, Inc. --- sys/mips/mips/mp_machdep.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/mips') diff --git a/sys/mips/mips/mp_machdep.c b/sys/mips/mips/mp_machdep.c index 2a6bbb4..9f98909 100644 --- a/sys/mips/mips/mp_machdep.c +++ b/sys/mips/mips/mp_machdep.c @@ -317,7 +317,6 @@ smp_init_secondary(u_int32_t cpuid) if (smp_cpus == mp_ncpus) { atomic_store_rel_int(&smp_started, 1); - smp_active = 1; } mtx_unlock_spin(&ap_boot_mtx); -- cgit v1.1