]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Build fix for !CONFIG_SMP
authorTejun Heo <tj@kernel.org>
Tue, 24 Sep 2024 21:10:07 +0000 (11:10 -1000)
committerTejun Heo <tj@kernel.org>
Tue, 24 Sep 2024 21:10:07 +0000 (11:10 -1000)
commit42268ad0eb4142245ea40ab01a5690a40e9c3b41
tree6c02d020051f8cc95d366de93f9411a141d0285a
parent68e5c7d4cefb66de3953a874e670ec8f1ce86a24
sched_ext: Build fix for !CONFIG_SMP

move_remote_task_to_local_dsq() is only defined on SMP configs but
scx_disaptch_from_dsq() was calling move_remote_task_to_local_dsq() on UP
configs too causing build failures. Add a dummy
move_remote_task_to_local_dsq() which triggers a warning.

Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 4c30f5ce4f7a ("sched_ext: Implement scx_bpf_dispatch[_vtime]_from_dsq()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409241108.jaocHiDJ-lkp@intel.com/
kernel/sched/ext.c