|
@@ -171,7 +171,7 @@ static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env)
|
|
|
#if defined(CONFIG_NET) && defined(CONFIG_BPF_SYSCALL)
|
|
#if defined(CONFIG_NET) && defined(CONFIG_BPF_SYSCALL)
|
|
|
int bpf_prog_offload_verifier_prep(struct bpf_verifier_env *env);
|
|
int bpf_prog_offload_verifier_prep(struct bpf_verifier_env *env);
|
|
|
#else
|
|
#else
|
|
|
-int bpf_prog_offload_verifier_prep(struct bpf_verifier_env *env)
|
|
|
|
|
|
|
+static inline int bpf_prog_offload_verifier_prep(struct bpf_verifier_env *env)
|
|
|
{
|
|
{
|
|
|
return -EOPNOTSUPP;
|
|
return -EOPNOTSUPP;
|
|
|
}
|
|
}
|