Skip to content

Commit 929adf8

Browse files
chenhengqiAlexei Starovoitov
authored andcommitted
bpf, arm64: Remove duplicated bpf_flush_icache()
The bpf_flush_icache() is done by bpf_arch_text_copy() already. Remove the duplicated one in arch_prepare_bpf_trampoline(). Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> Acked-by: Puranjay Mohan <puranjay@kernel.org> Link: https://lore.kernel.org/r/20250904075703.49404-1-hengqi.chen@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent abc8a95 commit 929adf8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/net/bpf_jit_comp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2773,7 +2773,6 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image,
27732773
goto out;
27742774
}
27752775

2776-
bpf_flush_icache(ro_image, ro_image + size);
27772776
out:
27782777
kvfree(image);
27792778
return ret;

0 commit comments

Comments
 (0)