Re: [PATCH bpf-next] bpf: Fix build without BPF_SYSCALL, but with BPF_JIT.

2020-08-30 Thread Paul E. McKenney
On Sun, Aug 30, 2020 at 05:53:21PM -0700, Alexei Starovoitov wrote: > On Sun, Aug 30, 2020 at 03:03:13PM -0700, Paul E. McKenney wrote: > > On Sun, Aug 30, 2020 at 01:43:28PM -0700, Alexei Starovoitov wrote: > > > From: Alexei Starovoitov > > > > > > When CONFIG_BPF_SYSCALL is not set, but CONFIG

Re: [PATCH bpf-next] bpf: Fix build without BPF_SYSCALL, but with BPF_JIT.

2020-08-30 Thread Alexei Starovoitov
On Sun, Aug 30, 2020 at 03:03:13PM -0700, Paul E. McKenney wrote: > On Sun, Aug 30, 2020 at 01:43:28PM -0700, Alexei Starovoitov wrote: > > From: Alexei Starovoitov > > > > When CONFIG_BPF_SYSCALL is not set, but CONFIG_BPF_JIT=y > > the kernel build fails: > > In file included from ../kernel/bpf

Re: [PATCH bpf-next] bpf: Fix build without BPF_SYSCALL, but with BPF_JIT.

2020-08-30 Thread Paul E. McKenney
On Sun, Aug 30, 2020 at 01:43:28PM -0700, Alexei Starovoitov wrote: > From: Alexei Starovoitov > > When CONFIG_BPF_SYSCALL is not set, but CONFIG_BPF_JIT=y > the kernel build fails: > In file included from ../kernel/bpf/trampoline.c:11: > ../kernel/bpf/trampoline.c: In function ‘bpf_trampoline_up

[PATCH bpf-next] bpf: Fix build without BPF_SYSCALL, but with BPF_JIT.

2020-08-30 Thread Alexei Starovoitov
From: Alexei Starovoitov When CONFIG_BPF_SYSCALL is not set, but CONFIG_BPF_JIT=y the kernel build fails: In file included from ../kernel/bpf/trampoline.c:11: ../kernel/bpf/trampoline.c: In function ‘bpf_trampoline_update’: ../kernel/bpf/trampoline.c:220:39: error: ‘call_rcu_tasks_trace’ undeclar