aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-01-05 09:38:47 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-01-05 09:38:47 +0000
commitd5c6775903c51fef022a5c5451474c0318bf42e4 (patch)
tree2869b61673054a14c50f42ca3755b21e38860d10 /sys
parentab8061d84cb4d1329c680e4a4126e11931e65b14 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index 6b55133d97f8..2734f7e7a93d 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -147,8 +147,8 @@ forward_roundrobin(void)
map = 0;
SLIST_FOREACH(pc, &cpuhead, pc_allcpu) {
td = pc->pc_curthread;
- id = pc->pc_cpuid;
- if (id != PCPU_GET(cpuid) && (id & stopped_cpus) == 0 &&
+ id = pc->pc_cpumask;
+ if (id != PCPU_GET(cpumask) && (id & stopped_cpus) == 0 &&
td != pc->pc_idlethread) {
td->td_kse->ke_flags |= KEF_NEEDRESCHED;
map |= id;