Skip to content
Snippets Groups Projects
Commit fcbc4235 authored by Vishal Chourasia's avatar Vishal Chourasia Committed by Tejun Heo
Browse files

sched_ext: Add __weak markers to BPF helper function decalarations

Fix build errors by adding __weak markers to BPF helper function
declarations in header files. This resolves static assertion failures
in scx_qmap.bpf.c and scx_flatcg.bpf.c where functions like
scx_bpf_dispatch_from_dsq_set_slice, scx_bpf_dispatch_from_dsq_set_vtime,
and scx_bpf_task_cgroup were missing the __weak attribute.

[1] https://lore.kernel.org/all/ZvvfUqRNM4-jYQzH@linux.ibm.com



Signed-off-by: default avatarVishal Chourasia <vishalc@linux.ibm.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 95b87369
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment