diff options
author | Vishal Chourasia <vishalc@linux.ibm.com> | 2024-10-02 12:38:06 +0530 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-10-02 06:53:12 -1000 |
commit | fcbc423577ce28b5e470a2a47fed6724430cccdb (patch) | |
tree | 03324ea3ed25982f865116866b98598205bad045 /kernel | |
parent | 95b873693a0841e02b812e693296a884362fdd51 (diff) |
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: Vishal Chourasia <vishalc@linux.ibm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions