diff options
author | attilio <attilio@FreeBSD.org> | 2011-05-31 21:22:44 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-05-31 21:22:44 +0000 |
commit | bc4d32e80bd81ea96c4c2544ab36f7e8caa777b7 (patch) | |
tree | c72d5598fc48383e545ddbc1e8438d9245766ca9 /sys/kern/sched_4bsd.c | |
parent | 27825059cd2a1ad6c708ee2089f7e182c12e84b1 (diff) | |
download | FreeBSD-src-bc4d32e80bd81ea96c4c2544ab36f7e8caa777b7.zip FreeBSD-src-bc4d32e80bd81ea96c4c2544ab36f7e8caa777b7.tar.gz |
MFC
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r-- | sys/kern/sched_4bsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 2fad27c..592bb80 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -1089,7 +1089,7 @@ forward_wakeup(int cpunum) CPU_OR(&dontuse, &hlt_cpus_mask); CPU_ZERO(&map2); if (forward_wakeup_use_loop) { - SLIST_FOREACH(pc, &cpuhead, pc_allcpu) { + STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) { id = pc->pc_cpumask; if (!CPU_OVERLAP(&id, &dontuse) && pc->pc_curthread == pc->pc_idlethread) { @@ -1124,7 +1124,7 @@ forward_wakeup(int cpunum) } if (!CPU_EMPTY(&map)) { forward_wakeups_delivered++; - SLIST_FOREACH(pc, &cpuhead, pc_allcpu) { + STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) { id = pc->pc_cpumask; if (!CPU_OVERLAP(&map, &id)) continue; |