mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
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>
This commit is contained in:
parent
abc8a952d4
commit
929adf8838
|
|
@ -2773,7 +2773,6 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image,
|
|||
goto out;
|
||||
}
|
||||
|
||||
bpf_flush_icache(ro_image, ro_image + size);
|
||||
out:
|
||||
kvfree(image);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user