mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 04:14:24 +00:00
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/[email protected] Signed-off-by: Vishal Chourasia <[email protected]> Signed-off-by: Tejun Heo <[email protected]>