aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBosko Milekic <bmilekic@FreeBSD.org>2004-07-03 01:19:46 +0000
committerBosko Milekic <bmilekic@FreeBSD.org>2004-07-03 01:19:46 +0000
commitabdb4e5d015a3617a20e0f029acec3c0c67179fc (patch)
tree7ca553634b0012780537ac021823351e797fa8be /sys
parent5854077600a6ce9082f03f98fe9329ac345de2a2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/sched_ule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index ac2b0c65d816c..889037d37d9ab 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -1628,7 +1628,7 @@ sched_add(struct thread *td)
* Only try to preempt if the thread is unpinned or pinned to the
* current CPU.
*/
- if (KSE_CAN_MIGRATE(ke) || ke->ke_cpu == PCPU_GET(cpuid))
+ if (KSE_CAN_MIGRATE(ke, class) || ke->ke_cpu == PCPU_GET(cpuid))
#endif
if (maybe_preempt(td))
return;