diff options
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index f0c0994..d16e2fd 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -201,7 +201,7 @@ forward_roundrobin(void) td = pc->pc_curthread; id = pc->pc_cpumask; if (id != me && (id & stopped_cpus) == 0 && - td != pc->pc_idlethread) { + !TD_IS_IDLETHREAD(td)) { td->td_flags |= TDF_NEEDRESCHED; map |= id; } |