summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-06-05 12:27:34 +0000
committerhrs <hrs@FreeBSD.org>2011-06-05 12:27:34 +0000
commit8ff65f2104c6b6188f7a86fc8b074b5d9d8cf576 (patch)
treebe9323d9ac7dde0b1af11cdbcfae206542a1c222 /sys/kern/sched_4bsd.c
parentecae8238dfcc956729cb43702018343ad85e6ba4 (diff)
parent58bf7d3104c5e5f32bfd96ca36c8551c7d94fa53 (diff)
downloadFreeBSD-src-8ff65f2104c6b6188f7a86fc8b074b5d9d8cf576.zip
FreeBSD-src-8ff65f2104c6b6188f7a86fc8b074b5d9d8cf576.tar.gz
Merge from HEAD@222712.
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r--sys/kern/sched_4bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index fef9e25..519cae5 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -1081,7 +1081,7 @@ forward_wakeup(int cpunum)
dontuse = me | stopped_cpus | hlt_cpus_mask;
map2 = 0;
if (forward_wakeup_use_loop) {
- SLIST_FOREACH(pc, &cpuhead, pc_allcpu) {
+ STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
id = pc->pc_cpumask;
if ((id & dontuse) == 0 &&
pc->pc_curthread == pc->pc_idlethread) {
@@ -1112,7 +1112,7 @@ forward_wakeup(int cpunum)
}
if (map) {
forward_wakeups_delivered++;
- SLIST_FOREACH(pc, &cpuhead, pc_allcpu) {
+ STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
id = pc->pc_cpumask;
if ((map & id) == 0)
continue;
OpenPOWER on IntegriCloud