]> git.baikalelectronics.ru Git - kernel.git/commit
bpf powerpc: Remove extra_pass from bpf_jit_build_body()
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Tue, 12 Oct 2021 12:30:50 +0000 (18:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:31 +0000 (11:25 +1100)
commit4681e9d7d29a14a63dd81e4e048571bd046dabe3
treebd92c1dbfb1431163e813e254535115629728c20
parentc3fa92c4bf432e61dc3a2a58f5531e5dd000e871
bpf powerpc: Remove extra_pass from bpf_jit_build_body()

In case of extra_pass, usual JIT passes are always skipped. So,
extra_pass is always false while calling bpf_jit_build_body() and
can be removed.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211012123056.485795-3-hbathini@linux.ibm.com
arch/powerpc/net/bpf_jit.h
arch/powerpc/net/bpf_jit_comp.c
arch/powerpc/net/bpf_jit_comp32.c
arch/powerpc/net/bpf_jit_comp64.c