Skip to content

Commit b0f50dc

Browse files
chenhengqichenhuacai
authored andcommitted
LoongArch: BPF: Remove duplicated bpf_flush_icache()
The bpf_flush_icache() is called by bpf_arch_text_copy() already. So remove it. This has been done in arm64 and riscv. Cc: [email protected] Tested-by: Vincent Li <[email protected]> Signed-off-by: Hengqi Chen <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 909d3e3 commit b0f50dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/loongarch/net/bpf_jit.c

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

1721-
bpf_flush_icache(ro_image, ro_image_end);
17221721
out:
17231722
kvfree(image);
17241723
return ret < 0 ? ret : size;

0 commit comments

Comments
 (0)