aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64/ia64
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2014-04-26 20:27:54 +0000
committerScott Long <scottl@FreeBSD.org>2014-04-26 20:27:54 +0000
commit60ad8150c70129a8d15b955d4dc9b1ef833520c2 (patch)
tree011b9f559b2fe7a4b0f730214125d5b9ed735d61 /sys/ia64/ia64
parent2d40ec16a885b952a407ecef3902dae848facfc6 (diff)
downloadsrc-60ad8150c70129a8d15b955d4dc9b1ef833520c2.tar.gz
src-60ad8150c70129a8d15b955d4dc9b1ef833520c2.zip
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
Notes
Notes: svn path=/head/; revision=264984
Diffstat (limited to 'sys/ia64/ia64')
-rw-r--r--sys/ia64/ia64/mp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/mp_machdep.c b/sys/ia64/ia64/mp_machdep.c
index 39fcca18d41d..4e7ffb835e29 100644
--- a/sys/ia64/ia64/mp_machdep.c
+++ b/sys/ia64/ia64/mp_machdep.c
@@ -475,7 +475,7 @@ cpu_mp_unleash(void *dummy)
mp_ncpus, cpus, smp_cpus);
}
- smp_active = 1;
+ /* XXX Atomic set operation? */
smp_started = 1;
/*