summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2014-04-26 20:27:54 +0000
committerscottl <scottl@FreeBSD.org>2014-04-26 20:27:54 +0000
commit62a64f0d2b367aa304943ab5c8508059744c6016 (patch)
tree011b9f559b2fe7a4b0f730214125d5b9ed735d61 /sys/mips
parentc08e3d03ca9c9ffe7fff07eaa4e6bc25d451b871 (diff)
downloadFreeBSD-src-62a64f0d2b367aa304943ab5c8508059744c6016.zip
FreeBSD-src-62a64f0d2b367aa304943ab5c8508059744c6016.tar.gz
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. Discussed with: peter, jhb MFC after: 3 days Obtained from: Netflix
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/mp_machdep.c1
1 files changed, 0 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud