bpf, x64: remove bpf_flush_icache
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 26 Feb 2018 21:13:52 +0000 (22:13 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 27 Feb 2018 17:18:58 +0000 (09:18 -0800)
commit71d22d58b6e507147a9008ce2fd690cf311c97f9
tree674639a0147c7234c88e3e23d06dc6ff26a6d7b2
parent6f1b5a2b58d8470e5a8b25ab29f5fdb4616ffff8
bpf, x64: remove bpf_flush_icache

Unlike other archs flush_icache_range() is a noop on x64, therefore
remove the JIT's bpf_flush_icache() altogether since not needed.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Eric Dumazet <edumazet@google.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/x86/net/bpf_jit_comp.c