diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2004-07-03 01:19:46 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2004-07-03 01:19:46 +0000 |
commit | 067d8e4e13131fd04d356f87481195235adf701a (patch) | |
tree | 7ca553634b0012780537ac021823351e797fa8be | |
parent | 066d1654263b59571881a81d005796a27003a132 (diff) | |
download | FreeBSD-src-067d8e4e13131fd04d356f87481195235adf701a.zip FreeBSD-src-067d8e4e13131fd04d356f87481195235adf701a.tar.gz |
Fix SCHED_ULE build on SMP. The previous revision (1.110)
introduced a KSE_CAN_MIGRATE() invocation with one argument
missing (class). Either this is a genuine forget or it crept
in from JHB's repo where he may have modified it. If it's
the latter then it may require more attention. For now fix
the make depend.
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index ac2b0c6..889037d 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; |