summaryrefslogtreecommitdiffstats
path: root/sys/ia64/ia64
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2014-05-07 20:28:27 +0000
committerscottl <scottl@FreeBSD.org>2014-05-07 20:28:27 +0000
commit96be897ce1e8a19c5a802c09f4d55a7c17ed9894 (patch)
tree9e592a28f4314467ab6a5bd9e845ba7c968df512 /sys/ia64/ia64
parent76892e1ddc1fc146dd77aa7e4f27a87b743ef731 (diff)
downloadFreeBSD-src-96be897ce1e8a19c5a802c09f4d55a7c17ed9894.zip
FreeBSD-src-96be897ce1e8a19c5a802c09f4d55a7c17ed9894.tar.gz
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.
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 a8868fa..4d41dbb 100644
--- a/sys/ia64/ia64/mp_machdep.c
+++ b/sys/ia64/ia64/mp_machdep.c
@@ -455,7 +455,7 @@ cpu_mp_unleash(void *dummy)
mp_ncpus, cpus, smp_cpus);
}
- smp_active = 1;
+ /* XXX Atomic set operation? */
smp_started = 1;
/*
OpenPOWER on IntegriCloud