Skip to content

Commit eabd473

Browse files
chenhengqiKernel Patches Daemon
authored andcommitted
LoongArch: BPF: Remove duplicated bpf_flush_icache()
The bpf_flush_icache() is called by bpf_arch_text_copy() already. So remove it. Signed-off-by: Hengqi Chen <[email protected]>
1 parent c9fd47d commit eabd473

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
@@ -1721,7 +1721,6 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image,
17211721
goto out;
17221722
}
17231723

1724-
bpf_flush_icache(ro_image, ro_image_end);
17251724
out:
17261725
kvfree(image);
17271726
return ret < 0 ? ret : size;

0 commit comments

Comments
 (0)