diff options
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/sched_4bsd.c | 5 | ||||
| -rw-r--r-- | sys/kern/sched_ule.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index e1e5c916fb42..0357ea7bdcf7 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -1402,5 +1402,10 @@ sched_fork_exit(struct thread *td) THREAD_LOCK_ASSERT(td, MA_OWNED | MA_NOTRECURSED); } +void +sched_affinity(struct thread *td) +{ +} + #define KERN_SWITCH_INCLUDE 1 #include "kern/kern_switch.c" diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 706adf94eb98..4445b0573348 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -2492,6 +2492,11 @@ sched_pctcpu(struct thread *td) return (pctcpu); } +void +sched_affinity(struct thread *td) +{ +} + /* * Bind a thread to a target cpu. */ |
