Messages in this thread | | | From | Alexei Starovoitov <> | Date | Wed, 25 Aug 2021 19:45:45 -0700 | Subject | Re: [PATCH bpf-next] bpf: Fix bpf-next builds without CONFIG_BPF_EVENTS |
| |
On Wed, Aug 25, 2021 at 6:48 PM Daniel Xu <dxu@dxuuu.xyz> wrote: > > This commit fixes linker errors along the lines of: > > s390-linux-ld: task_iter.c:(.init.text+0xa4): undefined reference to `btf_task_struct_ids'` > > Fix by defining btf_task_struct_ids unconditionally in kernel/bpf/btf.c > since there exists code that unconditionally uses btf_task_struct_ids. > > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Applied. Thanks
| |