[bpf-next v2] bpf: drop deprecated bpf_jit_enable == 2
Björn Töpel
bjorn at kernel.org
Thu Jan 5 01:36:38 PST 2023
tong at infragraf.org writes:
> diff --git a/arch/riscv/net/bpf_jit_core.c b/arch/riscv/net/bpf_jit_core.c
> index 737baf8715da..ff168c50d46a 100644
> --- a/arch/riscv/net/bpf_jit_core.c
> +++ b/arch/riscv/net/bpf_jit_core.c
> @@ -151,9 +151,6 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
> }
> bpf_jit_build_epilogue(ctx);
>
> - if (bpf_jit_enable > 1)
> - bpf_jit_dump(prog->len, prog_size, pass, ctx->insns);
> -
> prog->bpf_func = (void *)ctx->insns;
> prog->jited = 1;
> prog->jited_len = prog_size;
Acked-by: Björn Töpel <bjorn at kernel.org> # RISC-V
More information about the linux-riscv
mailing list