Commit 929adf88 authored by Hengqi Chen's avatar Hengqi Chen Committed by Alexei Starovoitov
Browse files

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: default avatarHengqi Chen <hengqi.chen@gmail.com>
Acked-by: default avatarPuranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/r/20250904075703.49404-1-hengqi.chen@gmail.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent abc8a952
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;