diff options
author | Tejun Heo <tj@kernel.org> | 2025-05-14 11:11:48 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-05-14 11:11:48 -0400 |
commit | ab3f497ac18d48649376f75cd782c8392b8f09a6 (patch) | |
tree | f8595e68a40c6268311a26aead29d35ee3f7b011 /kernel/sched/ext_idle.c | |
parent | d310fb40096896abe1928b88224129bf7122532f (diff) |
sched_ext: Add @sch to SCX_CALL_OP*()
In preparation of hierarchical scheduling support, make SCX_CALL_OP*() take
explicit @sch instead of assuming scx_root. As scx_root is still the only
scheduler instance, this patch doesn't make any functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'kernel/sched/ext_idle.c')
-rw-r--r-- | kernel/sched/ext_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/ext_idle.c b/kernel/sched/ext_idle.c index 0a116bcd681b..b5ea7d887816 100644 --- a/kernel/sched/ext_idle.c +++ b/kernel/sched/ext_idle.c @@ -746,7 +746,7 @@ void __scx_update_idle(struct rq *rq, bool idle, bool do_notify) * managed by put_prev_task_idle()/set_next_task_idle(). */ if (SCX_HAS_OP(sch, update_idle) && do_notify && !scx_rq_bypassing(rq)) - SCX_CALL_OP(SCX_KF_REST, update_idle, rq, cpu_of(rq), idle); + SCX_CALL_OP(sch, SCX_KF_REST, update_idle, rq, cpu_of(rq), idle); /* * Update the idle masks: |